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
This commit is contained in:
Reimar Döffinger 2009-10-13 08:08:10 +00:00
parent 8746296818
commit 1e69999334

View File

@ -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))) { 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"); av_log(mxf->fc, AV_LOG_ERROR, "could not resolve material track sequence strong ref\n");
return -1; continue;
} }
/* TODO: handle multiple source clips */ /* TODO: handle multiple source clips */