[Bug 708106] New: mpegtspacketizer.c: Incorrect condition checking

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Sep 15 04:47:52 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=708106
  GStreamer | gst-plugins-bad | 1.1.4

           Summary: mpegtspacketizer.c: Incorrect condition checking
    Classification: Platform
           Product: GStreamer
           Version: 1.1.4
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sudipj79 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=254967)
 View: https://bugzilla.gnome.org/attachment.cgi?id=254967
 Review: https://bugzilla.gnome.org/review?bug=708106&attachment=254967

patch for correct conditon check.

The condition check for current_next_indicator in the function
mpegts_packetizer_push_section is incorrect I assume. 

The (G_UNLIKELY (!data & 0x01)) will always return false irrespective of the
value in the data pointer.

Patch is attached for this fix

-sudipj

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list