diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-13 12:08:10 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-13 12:08:10 +0400 |
commit | 1e6999933478bca298ef92fe05e4224385bfd697 (patch) | |
tree | 789e1b1cb2a84cc0893f05c051466bfe3f3f42ae | |
parent | 87462968183381edbfc1de98528e4b7c7c697f70 (diff) |
MXF: simply ignore tracks that are invalid due to not having a valid Sequence
part instead of failing completely.
This partly fixes issue 1470 (broken files created by BBC ingex recorder).
Originally committed as revision 20221 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7f6d439d39..a815c60ea7 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -690,7 +690,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) if (!(material_track->sequence = mxf_resolve_strong_ref(mxf, &material_track->sequence_ref, Sequence))) { av_log(mxf->fc, AV_LOG_ERROR, "could not resolve material track sequence strong ref\n"); - return -1; + continue; } /* TODO: handle multiple source clips */ |