1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mxfdec: Check for NULL component

This fixes SIGSEGV with zzuf1.mxf
This commit is contained in:
Tomas Härdin 2011-12-20 17:38:27 +01:00
parent 5b718009b2
commit 5e5e69d078

View File

@ -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))) {