1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

more accurate dequant of near zero coefficients

Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-01-31 04:06:47 +00:00
parent 84af4a7ee6
commit b696d2a676

View File

@ -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]);