summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/vcr1.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/vcr1.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/vcr1.c')
-rw-r--r--src/libffmpeg/libavcodec/vcr1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/vcr1.c b/src/libffmpeg/libavcodec/vcr1.c
index 4905c703f..de1688443 100644
--- a/src/libffmpeg/libavcodec/vcr1.c
+++ b/src/libffmpeg/libavcodec/vcr1.c
@@ -158,12 +158,14 @@ static int decode_init(AVCodecContext *avctx){
return 0;
}
+#ifdef CONFIG_ENCODERS
static int encode_init(AVCodecContext *avctx){
common_init(avctx);
return 0;
}
+#endif
static int decode_end(AVCodecContext *avctx){