summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-11-16 15:33:49 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-11-16 15:33:49 +0000
commitec1091eb86402f83104124775fc3eb442f1369de (patch)
treeeb8710ad8f8f70c106228baecfe29418217645e1 /src/libffmpeg/libavcodec/h263.c
parentfc05268e42be632cc4ab1c00b5918e2158317c10 (diff)
downloadxine-lib-ec1091eb86402f83104124775fc3eb442f1369de.tar.gz
xine-lib-ec1091eb86402f83104124775fc3eb442f1369de.tar.bz2
fix some more compiler warnings about functions xine does not use
(mostly encoder stuff) CVS patchset: 5752 CVS date: 2003/11/16 15:33:49
Diffstat (limited to 'src/libffmpeg/libavcodec/h263.c')
-rw-r--r--src/libffmpeg/libavcodec/h263.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/h263.c b/src/libffmpeg/libavcodec/h263.c
index 018300aa6..1c18ea743 100644
--- a/src/libffmpeg/libavcodec/h263.c
+++ b/src/libffmpeg/libavcodec/h263.c
@@ -67,8 +67,8 @@ static int h263_decode_block(MpegEncContext * s, DCTELEM * block,
static inline int mpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr);
static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
int n, int coded, int intra, int rvlc);
-static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr);
#ifdef CONFIG_ENCODERS
+static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr);
static void mpeg4_encode_visual_object_header(MpegEncContext * s);
static void mpeg4_encode_vol_header(MpegEncContext * s, int vo_number, int vol_number);
#endif //CONFIG_ENCODERS
@@ -1197,7 +1197,6 @@ void h263_encode_mb(MpegEncContext * s,
}
}
}
-#endif
static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr)
{
@@ -1243,6 +1242,7 @@ static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr)
*dc_val_ptr = &dc_val[x + y * wrap];
return pred_dc;
}
+#endif
static void h263_pred_acdc(MpegEncContext * s, DCTELEM *block, int n)
{