[FFmpeg-cvslog] lavf/mxfdec: Search all components of material track for source package.

Carl Eugen Hoyos git at videolan.org
Wed Oct 4 00:29:41 EEST 2017


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov  5 01:48:10 2016 +0100| [4590d073ccdc7c3ce0384d5b1fba56b3f6673535] | committer: Carl Eugen Hoyos

lavf/mxfdec: Search all components of material track for source package.

Fixes ticket #5925.

Reviewed-by: Marton

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4590d073ccdc7c3ce0384d5b1fba56b3f6673535
---

 libavformat/mxfdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 1855f95d79..118e3e40b4 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1978,7 +1978,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
             source_package = mxf_resolve_source_package(mxf, component->source_package_uid);
             if (!source_package) {
                 av_log(mxf->fc, AV_LOG_TRACE, "material track %d: no corresponding source package found\n", material_track->track_id);
-                break;
+                continue;
             }
             for (k = 0; k < source_package->tracks_count; k++) {
                 if (!(temp_track = mxf_resolve_strong_ref(mxf, &source_package->tracks_refs[k], Track))) {



More information about the ffmpeg-cvslog mailing list