summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/rv10.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/rv10.c')
-rw-r--r--src/libffmpeg/libavcodec/rv10.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/rv10.c b/src/libffmpeg/libavcodec/rv10.c
index 438d0dd38..248305929 100644
--- a/src/libffmpeg/libavcodec/rv10.c
+++ b/src/libffmpeg/libavcodec/rv10.c
@@ -345,6 +345,8 @@ static int rv10_decode_init(AVCodecContext *avctx)
s->h263_rv10 = 1;
s->rv10_version = avctx->sub_id;
+
+ s->flags= avctx->flags;
if (MPV_common_init(s) < 0)
return -1;
@@ -507,4 +509,5 @@ AVCodec rv10_decoder = {
NULL,
rv10_decode_end,
rv10_decode_frame,
+ CODEC_CAP_DR1
};