dvb-descriptor: Fix comparision
we want to stop if one OR the other is NULL.
This commit is contained in:
parent
dc968163da
commit
63348811d2
@ -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…
x
Reference in New Issue
Block a user