[FFmpeg-cvslog] r18890 - trunk/libavcodec/eac3dec.c
jbr
subversion
Thu May 21 02:28:23 CEST 2009
Author: jbr
Date: Thu May 21 02:28:23 2009
New Revision: 18890
Log:
10l: typing mistake in r18888
Modified:
trunk/libavcodec/eac3dec.c
Modified: trunk/libavcodec/eac3dec.c
==============================================================================
--- trunk/libavcodec/eac3dec.c Thu May 21 02:15:44 2009 (r18889)
+++ trunk/libavcodec/eac3dec.c Thu May 21 02:28:23 2009 (r18890)
@@ -183,7 +183,7 @@ void ff_eac3_decode_transform_coeffs_aht
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;
More information about the ffmpeg-cvslog
mailing list