diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index e6e9afafb01787279543628901aad948bebf91ef..8185b75546352b082d698f849aa13f40cb9fc7b6 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -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) {