diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-31 04:06:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-31 04:06:47 +0000 |
commit | b696d2a67667cacce204943a7d283560a53f7874 (patch) | |
tree | 16042c377399f9ff44cc83c4875260a5610298f1 | |
parent | 84af4a7ee6f938c6466c8d795ead0e6ee8ed486d (diff) | |
download | ffmpeg-b696d2a67667cacce204943a7d283560a53f7874.tar.gz |
more accurate dequant of near zero coefficients
Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegaudiodec.c | 3 |
1 files changed, 1 insertions, 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]); |