diff ac3dec.c @ 9680:debe2623a70a libavcodec

eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ dequantization 24-bit in a separate commit.
author jbr
date Thu, 21 May 2009 00:09:23 +0000
parents 3e1a08ba8481
children 7ad7d4094d1f
line wrap: on
line diff
--- a/ac3dec.c	Wed May 20 18:49:55 2009 +0000
+++ b/ac3dec.c	Thu May 21 00:09:23 2009 +0000
@@ -562,7 +562,7 @@
         if (!blk)
             ff_eac3_decode_transform_coeffs_aht_ch(s, ch);
         for (bin = s->start_freq[ch]; bin < s->end_freq[ch]; bin++) {
-            s->fixed_coeffs[ch][bin] = (s->pre_mantissa[ch][bin][blk] << 8) >> s->dexps[ch][bin];
+            s->fixed_coeffs[ch][bin] = s->pre_mantissa[ch][bin][blk] >> s->dexps[ch][bin];
         }
     }
 }