Commit ca201792 authored by jbr's avatar jbr

eac3dec: fix bug in GAQ dequantization


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18889 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a2952ca1
......@@ -175,7 +175,7 @@ void ff_eac3_decode_transform_coeffs_aht_ch(AC3DecodeContext *s, int ch)
for (blk = 0; blk < 6; blk++) {
int mant = get_sbits(gbc, gbits);
if (mant == -(1 << (gbits-1))) {
if (log_gain && mant == -(1 << (gbits-1))) {
/* large mantissa */
int b;
int mbits = bits - (2 - log_gain);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment