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:
parent
8746296818
commit
1e69999334
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user