Commit 970c8df7 authored by Michael Niedermayer's avatar Michael Niedermayer

mpeg12dec: avoid reinitializtation on PS changes when possible.

Fixes Ticket2574
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7dee9c22
......@@ -1172,7 +1172,7 @@ static int mpeg_decode_postinit(AVCodecContext *avctx)
s1->save_width != s->width ||
s1->save_height != s->height ||
s1->save_aspect_info != s->aspect_ratio_info ||
s1->save_progressive_seq != s->progressive_sequence ||
(s1->save_progressive_seq != s->progressive_sequence && (s->height&31)) ||
0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment