From: Gwenole Beauchesne Date: Tue, 22 Jan 2013 09:11:34 +0000 (+0100) Subject: codecparsers: vc1: fix parser for DQPROFILE in VOPDQUANT. X-Git-Tag: 1.19.3~507^2~14152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3698c62897bcbd5b7ae4c86a401d5220d95b70e;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c index 3c2640e..557cc06 100644 --- a/gst-libs/gst/codecparsers/gstvc1parser.c +++ b/gst-libs/gst/codecparsers/gstvc1parser.c @@ -641,7 +641,7 @@ parse_vopdquant (GstBitReader * br, GstVC1FrameHdr * framehdr, guint8 dquant) vopdquant->dquantfrm); if (vopdquant->dquantfrm) { - READ_UINT8 (br, vopdquant->dqprofile, 1); + READ_UINT8 (br, vopdquant->dqprofile, 2); switch (vopdquant->dqprofile) { case GST_VC1_DQPROFILE_SINGLE_EDGE: