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 09:38:20 +0000 (10:38 +0100)
commit0b13d2b87105e4cd7aaef98659c2735e814e3a0a
treee4ce82cda89301cf0664000895eec488883f2e34
parentba88e638a88799e6e9ccf919f822ef5e0348933c
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.

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