]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv10.c
mlpdec: support major sync headers with optional extension blocks
[ffmpeg] / libavcodec / rv10.c
index 4a5cf414966df569295509eb252d47aaf2e1d9ed..7097b29d5ef8b669e19b6b0ea6b37ff6c5cb30d3 100644 (file)
@@ -475,10 +475,9 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
         return ret;
 
     ff_mpv_decode_defaults(s);
+    ff_mpv_decode_init(s, avctx);
 
-    s->avctx       = avctx;
     s->out_format  = FMT_H263;
-    s->codec_id    = avctx->codec_id;
 
     rv->orig_width  =
     s->width        = avctx->coded_width;