changeset 9683:815664144471 libavcodec

10l: typing mistake in r18888
author jbr
date Thu, 21 May 2009 00:28:23 +0000
parents 0596729ae4af
children c1ed557cd3b8
files eac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/eac3dec.c	Thu May 21 00:15:44 2009 +0000
+++ b/eac3dec.c	Thu May 21 00:28:23 2009 +0000
@@ -183,7 +183,7 @@
                     mant <<= (23 - (mbits - 1));
                     /* remap mantissa value to correct for asymmetric quantization */
                     if (mant >= 0)
-                        b = 1 << (23 - (mbits - 1));
+                        b = 1 << (23 - log_gain);
                     else
                         b = ff_eac3_gaq_remap_2_4_b[hebap-8][log_gain-1] << 8;
                     mant += (((ff_eac3_gaq_remap_2_4_a[hebap-8][log_gain-1] << 8) * (int64_t)mant) >> 23) + b;