mpegtspacketizer: Correct condition check for current next indicator
authorSudip Jain <sudip.jain@st.com>
Sun, 15 Sep 2013 11:39:16 +0000 (17:09 +0530)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 16 Sep 2013 09:00:16 +0000 (11:00 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=708106

gst/mpegtsdemux/mpegtspacketizer.c

index a64fd00..2a6fba2 100644 (file)
@@ -1084,7 +1084,7 @@ section_start:
      * version_number                : 5  bit
      * current_next_indicator        : 1  bit */
     /* Bail out now if current_next_indicator == 0 */
-    if (G_UNLIKELY (!data & 0x01)) {
+    if (G_UNLIKELY (!(*data & 0x01))) {
       GST_DEBUG
           ("PID 0x%04x table_id 0x%02x section does not apply (current_next_indicator == 0)",
           packet->pid, table_id);