avformat/mpegts: Continue parsing PMTs during duration estimation
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Nov 2014 21:55:07 +0000 (22:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Nov 2014 21:55:07 +0000 (22:55 +0100)
commitdb0471c40f0fb30355c07cca5fe7317ab6778b5a
tree0384e72efebd16e2daf938d0c293a0df1225ab9a
parenta7f25979dd568f4f7253ebb3e30f802c7009fbaa
avformat/mpegts: Continue parsing PMTs during duration estimation

This way if we by chance run into a valid PMT we have a more complete
set of streams, also do not reset streams in case we run into a worse
PMT

Fixes Ticket4046

alternatively Ticket4046 could be closed as invalid or wontfix as it contains
some PMTs which lack the 2 subtitle streams

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c