mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mxfdec: Check for NULL component
This fixes a SIGSEGV with zzuf1.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
29fc8f50cd
commit
effe3b9575
@ -1311,7 +1311,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!source_track)
|
if (!source_track || !component)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) {
|
if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user