mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
mpeg4videoparse: Don't call gst_buffer_memcmp() with a NULL buffer
This commit is contained in:
parent
2a255cca8b
commit
c76890b7fa
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ gst_mpeg4vparse_process_config (GstMpeg4VParse * mp4vparse,
|
|||
const guint8 * data, guint offset, gsize size)
|
||||
{
|
||||
/* only do stuff if something new */
|
||||
if (!gst_buffer_memcmp (mp4vparse->config, offset, data, size))
|
||||
if (mp4vparse->config
|
||||
&& !gst_buffer_memcmp (mp4vparse->config, offset, data, size))
|
||||
return TRUE;
|
||||
|
||||
if (mp4vparse->vol_offset < 0) {
|
||||
|
|
Loading…
Reference in a new issue