[Bug 736871] codecparsers_vc1: sequence-layer parser is broken due to endianness issue.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 18 03:22:16 PDT 2014


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

--- Comment #1 from Aurélien Zanelli <aurelien.zanelli at parrot.com> 2014-09-18 10:22:08 UTC ---
Created an attachment (id=286463)
 View: https://bugzilla.gnome.org/attachment.cgi?id=286463
 Review: https://bugzilla.gnome.org/review?bug=736871&attachment=286463

codecparsers_vc1: take care of endianness when parsing sequence-layer

This patch proposal use a GstByteReader instead of a GstBitReader to parse the
sequence-layer.

But since STRUCT_A and STRUCT_B fields are definied as unsigned integer msb
first, I think we can't change struct_a and struct_b parsing, so I use two
temporary structA and structB byte arrays and pass them to parsing functions.

I'm not sure it's the best way to do this, so if you have some other idea,
you're welcome. :)

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