1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-23 04:24:35 +02:00

reinitialize on aspect change,

required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ivan Kalvachev 2005-04-03 17:34:31 +00:00
parent a0d1931c0e
commit aa26aa789b

View File

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