mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +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 *
|
gst_mpegts_descriptor_parse_dvb_teletext_nb (const GstMpegTsDescriptor *
|
||||||
descriptor)
|
descriptor)
|
||||||
{
|
{
|
||||||
if (descriptor == NULL && descriptor->data == NULL)
|
if (descriptor == NULL || descriptor->data == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return descriptor->length / 5;
|
return descriptor->length / 5;
|
||||||
|
|
Loading…
Reference in a new issue