mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
mpegtsdemux: Fix illogical comparision
A variable can't be two values at once. We want to stop if it's not the actual ts *AND* not the other ts CID #1316475
This commit is contained in:
parent
31d381d5f8
commit
7ea4a66b9f
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ mpegts_base_get_tags_from_eit (MpegTSBase * base, GstMpegtsSection * section)
|
||||||
|
|
||||||
/* Early exit if it's not from the present/following table_id */
|
/* Early exit if it's not from the present/following table_id */
|
||||||
if (section->table_id != GST_MTS_TABLE_ID_EVENT_INFORMATION_ACTUAL_TS_PRESENT
|
if (section->table_id != GST_MTS_TABLE_ID_EVENT_INFORMATION_ACTUAL_TS_PRESENT
|
||||||
|| section->table_id !=
|
&& section->table_id !=
|
||||||
GST_MTS_TABLE_ID_EVENT_INFORMATION_OTHER_TS_PRESENT)
|
GST_MTS_TABLE_ID_EVENT_INFORMATION_OTHER_TS_PRESENT)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue