avcodec/vc1: correct AC inverse quantization scaling
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Mon, 23 Apr 2018 19:00:15 +0000 (21:00 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 25 Apr 2018 20:07:20 +0000 (22:07 +0200)
commit797c1536a46e645304a9325bd58f99420c37e773
treef326ad9b06db49a01dadd8727c778fff4d5d6317
parenta1dc0bdaf49497358d70002ffb5ec498f5f41270
avcodec/vc1: correct AC inverse quantization scaling

HALFQP should only be added to the inverse quantizer when the block is
coded with PQUANT. See 8.1.3.8 in VC-1 spec.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
libavcodec/vc1_block.c