Commit 5e5e69d0 authored by Tomas Härdin's avatar Tomas Härdin

mxfdec: Check for NULL component

This fixes SIGSEGV with zzuf1.mxf
parent 5b718009
......@@ -1276,7 +1276,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
break;
}
}
if (!source_track)
if (!source_track || !component)
continue;
if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment