mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
binary registry: comparing arrays against NULL is useless
This commit is contained in:
parent
1ca248bac6
commit
c69a262889
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ gst_registry_binary_check_magic (gchar ** in, gsize size)
|
|||
GST_DEBUG ("Reading/casting for GstBinaryRegistryMagic at address %p", *in);
|
||||
unpack_element (*in, m, GstBinaryRegistryMagic);
|
||||
|
||||
if (m == NULL || m->magic == NULL || m->version == NULL) {
|
||||
if (m == NULL || &m->magic == NULL || &m->version == NULL) {
|
||||
GST_WARNING ("Binary registry magic structure is broken");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue