aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-05-21 00:28:23 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-05-21 00:28:23 +0000
commitcab4e4e84d847e9f291841c31ebb3cbe3f2cced4 (patch)
treebbb1d235a05fda4fd9b6d52e29c933b06d5f3335 /libavcodec
parent37a1cc4834afd46a278860bb014fdaa1d02e124a (diff)
downloadffmpeg-cab4e4e84d847e9f291841c31ebb3cbe3f2cced4.tar.gz
10l: typing mistake in r18888
Originally committed as revision 18890 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/eac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index 0cbf5b9494..92d6bdcfd0 100644
--- a/libavcodec/eac3dec.c
+++ b/libavcodec/eac3dec.c
@@ -183,7 +183,7 @@ void ff_eac3_decode_transform_coeffs_aht_ch(AC3DecodeContext *s, int ch)
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;