mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 19:10:09 +01:00
mxfdec: Only parse next partition pack if parsing forward
This fixes ticket #1099.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 393b81f093)
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
63945e2226
commit
515b7f08b1
@@ -1662,6 +1662,9 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
/* next partition pack - keep going, seek to previous partition or stop */
|
||||
if(mxf_parse_handle_partition_or_eof(mxf) <= 0)
|
||||
break;
|
||||
else if (mxf->parsing_backward)
|
||||
continue;
|
||||
/* we're still parsing forward. proceed to parsing this partition pack */
|
||||
}
|
||||
|
||||
for (metadata = mxf_metadata_read_table; metadata->read; metadata++) {
|
||||
|
||||
Reference in New Issue
Block a user