[FFmpeg-cvslog] r20221 - trunk/libavformat/mxfdec.c

reimar subversion
Tue Oct 13 10:08:10 CEST 2009


Author: reimar
Date: Tue Oct 13 10:08:10 2009
New Revision: 20221

Log:
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).

Modified:
   trunk/libavformat/mxfdec.c

Modified: trunk/libavformat/mxfdec.c
==============================================================================
--- trunk/libavformat/mxfdec.c	Tue Oct 13 03:46:19 2009	(r20220)
+++ trunk/libavformat/mxfdec.c	Tue Oct 13 10:08:10 2009	(r20221)
@@ -690,7 +690,7 @@ static int mxf_parse_structural_metadata
 
         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 */



More information about the ffmpeg-cvslog mailing list