mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mpeg12dec: avoid reinitializtation on PS changes when possible.
Fixes Ticket2574 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7dee9c2268
commit
970c8df735
@ -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)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user