Mercurial > libavformat.hg
changeset 5281:be8827a65b7e libavformat
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).
author | reimar |
---|---|
date | Tue, 13 Oct 2009 08:08:10 +0000 |
parents | 4292c6f121dc |
children | 03907bb786c0 |
files | mxfdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxfdec.c Tue Oct 13 01:46:19 2009 +0000 +++ b/mxfdec.c Tue Oct 13 08:08:10 2009 +0000 @@ -690,7 +690,7 @@ 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 */