Browse Source

mxfdec: only parse next partition pack if parsing forward

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n1.0
Tomas Härdin Luca Barbato 13 years ago
parent
commit
83728d2d36
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/mxfdec.c

+ 3
- 0
libavformat/mxfdec.c View File

@@ -1873,6 +1873,9 @@ static int mxf_read_header(AVFormatContext *s)
/* 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++) {


Loading…
Cancel
Save