summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2005-04-03 17:34:31 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2005-04-03 17:34:31 +0000
commitaa26aa789b01b82d1fe84dde83b8a767edbe4f16 (patch)
tree6eb82a156b2221740725ab7e09583918b219c863 /libavcodec/mpeg12.c
parenta0d1931c0e6d1a701e1dce791d1955bbaba74ee8 (diff)
reinitialize on aspect change,
required for dvb aspect changes Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 1af8c3b4a1..5022f4807e 100644
--- a/libavcodec/mpeg12.c
+++ b/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)
{