mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
dvb-descriptor: Fix comparision
we want to stop if one OR the other is NULL.
This commit is contained in:
parent
dc968163da
commit
63348811d2
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ guint
|
|||
gst_mpegts_descriptor_parse_dvb_teletext_nb (const GstMpegTsDescriptor *
|
||||
descriptor)
|
||||
{
|
||||
if (descriptor == NULL && descriptor->data == NULL)
|
||||
if (descriptor == NULL || descriptor->data == NULL)
|
||||
return 0;
|
||||
|
||||
return descriptor->length / 5;
|
||||
|
|
Loading…
Reference in a new issue