summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/wmv2.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/wmv2.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/wmv2.c')
-rw-r--r--src/libffmpeg/libavcodec/wmv2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/wmv2.c b/src/libffmpeg/libavcodec/wmv2.c
index f68664820..b403a6b17 100644
--- a/src/libffmpeg/libavcodec/wmv2.c
+++ b/src/libffmpeg/libavcodec/wmv2.c
@@ -59,6 +59,8 @@ static void wmv2_common_init(Wmv2Context * w){
ff_init_scantable(s->dsp.idct_permutation, &w->abt_scantable[1], wmv2_scantableB);
}
+#ifdef CONFIG_ENCODERS
+
static int encode_ext_header(Wmv2Context *w){
MpegEncContext * const s= &w->s;
PutBitContext pb;
@@ -84,7 +86,6 @@ static int encode_ext_header(Wmv2Context *w){
return 0;
}
-#ifdef CONFIG_ENCODERS
static int wmv2_encode_init(AVCodecContext *avctx){
Wmv2Context * const w= avctx->priv_data;
@@ -478,8 +479,10 @@ s->picture_number++; //FIXME ?
return 0;
}
+#if 0
static void ff_wmv2_decode_init(MpegEncContext *s){
}
+#endif
static inline int wmv2_decode_motion(Wmv2Context *w, int *mx_ptr, int *my_ptr){
MpegEncContext * const s= &w->s;