mxfdec: Parse PreviousPartition in mxf_seek_to_previous_partition()
authorTomas Härdin <tomas.hardin@codemill.se>
Tue, 28 Oct 2014 12:38:18 +0000 (13:38 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 17:58:59 +0000 (18:58 +0100)
commit37c36861550f2a30f5bc6b9a4b18d34cb75da460
tree1e8ef9d213aa7e95ac12f599bc65051f2c48a580
parentfc1b89d887a572f3c6e814a5374453e803931580
mxfdec: Parse PreviousPartition in mxf_seek_to_previous_partition()

Without this patch the demuxer can get stuck in a loop if PreviousPartition
points somewhere where there's no PartitionPack, or if klv_read_packet() syncs
back up to the current partition.

This should fix Ticket3278 properly and unbreak Ticket4040.

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