summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2011-01-14 00:01:48 -0800
committerAustin Yuan <shengquan.yuan@gmail.com>2011-01-14 00:01:48 -0800
commit576679abc67ced513b5b05a21eceff2563ef1ce4 (patch)
tree30d4997c61149798ba98f154090f70a39725b213 /va
parent4f772afa1a3010e05a74f15fe37c48d9297daa0f (diff)
Fix the build issue for Android
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va')
-rw-r--r--va/va_fool.h8
-rw-r--r--va/va_fool_getframe.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/va/va_fool.h b/va/va_fool.h
index 3bd7d18..ba11b50 100644
--- a/va/va_fool.h
+++ b/va/va_fool.h
@@ -25,11 +25,19 @@
#ifndef VA_FOOL_H
#define VA_FOOL_H
+
+#include <stdio.h>
+
void va_FoolInit(VADisplay dpy);
int va_FoolEnd(VADisplay dpy);
+
+int va_FoolGetFrame(FILE *input_fp, char *frame_buf);
+
int va_FoolCodedBuf(VADisplay dpy);
+
+
int va_FoolCreateConfig(
VADisplay dpy,
VAProfile profile,
diff --git a/va/va_fool_getframe.c b/va/va_fool_getframe.c
index 0b2a8d9..07b42d7 100644
--- a/va/va_fool_getframe.c
+++ b/va/va_fool_getframe.c
@@ -24,7 +24,7 @@ static int get_unsigned_exp_golomb();
static void decode_slice_header(slice_header *sh);
static void input_read(FILE *input_fp, unsigned char *dest, int size);
static int input_get_bits(int bit_count);
-int va_FoolGetFrame(FILE *input_fp, char *frame_buf);
+
static unsigned char nal_buf[NAL_BUF_SIZE];
static unsigned char ring_buf[RING_BUF_SIZE];