Commit effe3b95 authored by Tomas Härdin's avatar Tomas Härdin Committed by Diego Biurrun

mxfdec: Check for NULL component

This fixes a SIGSEGV with zzuf1.mxf.
Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent 29fc8f50
......@@ -1311,7 +1311,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