mpeg12dec: avoid reinitialization on PS changes when possible.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Jul 2013 19:46:20 +0000 (21:46 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 8 Jul 2013 22:53:51 +0000 (00:53 +0200)
commitf75964ad1fe7142fe402cbcb75db7d31d73a00e6
tree3261418b2d4dcedaa1cd89d05db1a934d47c8795
parente445dc9237ae3c87565480936b4feba31f7de998
mpeg12dec: avoid reinitialization on PS changes when possible.

Fixes Ticket2574

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 970c8df73528659925819dec31c4c8c0887f0321)

Conflicts:
libavcodec/mpeg12dec.c
libavcodec/mpeg12.c