mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
codecparsers: vc1: fix parser for DQPROFILE in VOPDQUANT.
Fix parse_vopdquant() to correctly parse DQPROFILE, which is 2 bits instead of a single bit. https://bugzilla.gnome.org/show_bug.cgi?id=692267 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
56e2405a35
commit
f3698c6289
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ parse_vopdquant (GstBitReader * br, GstVC1FrameHdr * framehdr, guint8 dquant)
|
||||||
vopdquant->dquantfrm);
|
vopdquant->dquantfrm);
|
||||||
|
|
||||||
if (vopdquant->dquantfrm) {
|
if (vopdquant->dquantfrm) {
|
||||||
READ_UINT8 (br, vopdquant->dqprofile, 1);
|
READ_UINT8 (br, vopdquant->dqprofile, 2);
|
||||||
|
|
||||||
switch (vopdquant->dqprofile) {
|
switch (vopdquant->dqprofile) {
|
||||||
case GST_VC1_DQPROFILE_SINGLE_EDGE:
|
case GST_VC1_DQPROFILE_SINGLE_EDGE:
|
||||||
|
|
Loading…
Reference in a new issue