[Bug 685890] codecparsers: h264: fix rbsp_more_data() implementation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 24 05:56:11 PDT 2012


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

Mark Nauwelaerts <mnauw> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mnauw at users.sourceforge.net

--- Comment #1 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2012-10-24 12:56:06 UTC ---
While this patch makes sense, the while() loop seems to pass beyond
byte-boundary, whereas spec is as below, which does not suggest doing so
(unless there is also something general regarding trailing 0 bits elsewhere):

rbsp_trailing_bits( ) {
  rbsp_stop_one_bit /* equal to 1 */
  while (!byte_aligned())
    rbsp_alignment_zero_bit /* equal to 0 */
}

That said, it should indeed return FALSE in the example given above, but am not
sure what to do with trailing 0-bytes.

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