summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Medeiros <amaurymedeiros@gmail.com>2014-01-27 23:55:57 -0300
committerSebastian Dröge <sebastian@centricular.com>2014-04-29 08:55:04 +0200
commitafbfb97ebe039cbd63dadb188fb0aeb458fae19b (patch)
tree5279731785cd1e36a0dca427a733d5320cc8a458
parent26ebdf259b81037dbeb1024986526d1c71d58d21 (diff)
downloadgstreamer-plugins-bad-afbfb97ebe039cbd63dadb188fb0aeb458fae19b.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
-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 */