mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
matroskademux: Guard against no codec data in prores caps creation
CID 1346532
This commit is contained in:
parent
bed1f0a0a6
commit
e618444ca7
1 changed files with 2 additions and 2 deletions
|
@ -5260,8 +5260,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||
const gchar *variant, *variant_descr = "";
|
||||
|
||||
/* Expect a fourcc in the codec private data */
|
||||
if (size < 4) {
|
||||
GST_WARNING ("Too small PRORESS fourcc (%d bytes)", size);
|
||||
if (!data || size < 4) {
|
||||
GST_WARNING ("No or too small PRORESS fourcc (%d bytes)", size);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue