mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
codecparsers: vc1: fix VOPDQUANT parser for DQUANT == 2.
Fix parsing of VOPDQUANT when DQUANT == 2. In particular, DQUANTFRM is not present in the bitstream in this case and it shall be derived to the default value of zero (7.1.1.31.1). https://bugzilla.gnome.org/show_bug.cgi?id=692271 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
73213e273f
commit
93fbcfda23
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ parse_vopdquant (GstBitReader * br, GstVC1FrameHdr * framehdr, guint8 dquant)
|
|||
vopdquant->dqbilevel = 0;
|
||||
|
||||
if (dquant == 2) {
|
||||
READ_UINT8 (br, vopdquant->dquantfrm, 1);
|
||||
vopdquant->dquantfrm = 0;
|
||||
|
||||
READ_UINT8 (br, vopdquant->pqdiff, 3);
|
||||
|
||||
|
|
Loading…
Reference in a new issue