dr1
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Jul 2002 01:24:02 +0000 (01:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Jul 2002 01:24:02 +0000 (01:24 +0000)
Originally committed as revision 765 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv10.c

index 438d0dd..2483059 100644 (file)
@@ -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
 };