[Bug 778365] New: offset accounted twice in _masked_scan_uint32_peek for H264 special case

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 8 21:32:05 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=778365

            Bug ID: 778365
           Summary: offset accounted twice in _masked_scan_uint32_peek for
                    H264 special case
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m7onov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In function gstreamer/libs/gst/base/gstbytereader.c:_masked_scan_uint32_peek
"offset" value accounted twice. First time when we evaluate "data" variable.
The second time when we pass "offset" value to _scan_for_start_code function.
The case is applicable only when special condition are met: (pattern ==
0x00000100) && (mask == 0xffffff00) - H264 nal unit border pattern.

-- 
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