OSDN Git Service

rv10: set flags, Fixes Ticket90
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Apr 2011 14:00:00 +0000 (16:00 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Apr 2011 14:02:23 +0000 (16:02 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/rv10.c

index e6e9afa..8185b75 100644 (file)
@@ -656,6 +656,8 @@ static int rv10_decode_frame(AVCodecContext *avctx,
     const uint8_t *slices_hdr = NULL;
 
     av_dlog(avctx, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
+    s->flags  = avctx->flags;
+    s->flags2 = avctx->flags2;
 
     /* no supplementary picture */
     if (buf_size == 0) {