codecparsers: vc1: fix calculation of ALTPQUANT.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 22 Jan 2013 09:38:20 +0000 (10:38 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 22 Jan 2013 10:19:56 +0000 (11:19 +0100)
commit73213e273f04389660d8ab9b5ae88743d3a1e55c
tree5e7fef1bb8beea630a66a5bffef8c979fd2475d7
parentf3698c62897bcbd5b7ae4c86a401d5220d95b70e
codecparsers: vc1: fix calculation of ALTPQUANT.

Fix calculation of ALTPQUANT when DQUANT == 1. PQDIFF alters ALTPQUANT
in any case. See 7.1.1.31.6.

https://bugzilla.gnome.org/show_bug.cgi?id=692270

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstvc1parser.c