diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 636ae067c8..7eddabcaca 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2092,6 +2092,9 @@ static int vcr2_init_sequence(AVCodecContext *avctx) s->chroma_format = 1; s->codec_id= s->avctx->codec_id= CODEC_ID_MPEG2VIDEO; avctx->sub_id = 2; /* indicates MPEG-2 */ + s1->save_width = s->width; + s1->save_height = s->height; + s1->save_progressive_seq = s->progressive_sequence; return 0; }