reinitialize on aspect change,

required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ivan Kalvachev 20 years ago
parent a0d1931c0e
commit aa26aa789b
  1. 2
      libavcodec/mpeg12.c

@ -1981,7 +1981,7 @@ static int mpeg_decode_postinit(AVCodecContext *avctx){
(s1->mpeg_enc_ctx_allocated == 0)||
avctx->coded_width != s->width ||
avctx->coded_height != s->height||
// s1->save_aspect_info != avctx->aspect_ratio_info||
s1->save_aspect_info != s->aspect_ratio_info||
0)
{

Loading…
Cancel
Save