summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/vcr1.c
diff options
context:
space:
mode:
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){