tsdemux: Fix flags comparison operator precedence

Fix operator precedence, so the whole operation is
negated instead of only flags variable.

https://bugzilla.gnome.org/show_bug.cgi?id=722096
This commit is contained in:
Amaury Medeiros 2014-01-27 23:55:57 -03:00 committed by Edward Hervey
parent 1122b56ff6
commit 44a87d2109

View file

@ -328,7 +328,7 @@ mpegts_parse_pes_header (const guint8 * data, gsize length, PESHeader * res)
} }
/* jump if we don't have a PES 2nd extension */ /* jump if we don't have a PES 2nd extension */
if (!flags & 0x01) if (!(flags & 0x01))
goto stuffing_byte; goto stuffing_byte;
/* Extension flag 2 */ /* Extension flag 2 */