Commit 4bee4400 authored by Marton Balint's avatar Marton Balint

avformat/mxfdec: check if source_package is NULL

Fixes ticket #5554.
Reviewed-by: 's avatarTomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 7a2a8b54
......@@ -1914,7 +1914,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
break;
}
}
if (!source_track || !component)
if (!source_track || !component || !source_package)
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