summaryrefslogtreecommitdiff
path: root/gst/mpegtsdemux/pesparse.c
diff options
context:
space:
mode:
authorAmaury Medeiros <amaurymedeiros@gmail.com>2014-01-27 23:55:57 -0300
committerEdward Hervey <bilboed@bilboed.com>2014-01-28 13:56:44 +0100
commit44a87d210934c7ab2d899245de778238f318bf56 (patch)
tree8474369ab41a98f0b71af543a46beac7e7250da0 /gst/mpegtsdemux/pesparse.c
parent1122b56ff613d52e1f6e8ea321975487382973c1 (diff)
downloadgstreamer-plugins-bad-44a87d210934c7ab2d899245de778238f318bf56.tar.gz
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
Diffstat (limited to 'gst/mpegtsdemux/pesparse.c')
-rw-r--r--gst/mpegtsdemux/pesparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsdemux/pesparse.c b/gst/mpegtsdemux/pesparse.c
index e18f8ed2b..08ec9a303 100644
--- a/gst/mpegtsdemux/pesparse.c
+++ b/gst/mpegtsdemux/pesparse.c
@@ -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 */
- if (!flags & 0x01)
+ if (!(flags & 0x01))
goto stuffing_byte;
/* Extension flag 2 */