From b696d2a67667cacce204943a7d283560a53f7874 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 31 Jan 2005 04:06:47 +0000 Subject: [PATCH] more accurate dequant of near zero coefficients Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudiodec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 782de57e6f..cd48e8422f 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -230,11 +230,10 @@ static inline int l3_unscale(int value, int exponent) e = FRAC_BITS - e; #if FRAC_BITS <= 15 if (e > 31) - e = 31; #else if (e > 63) - e = 63; #endif + return 0; m = table_4_3_value[value]; #if FRAC_BITS <= 15 m = (m * scale_factor_mult3[exponent & 3]);