Commit b696d2a6 authored by Michael Niedermayer's avatar Michael Niedermayer

more accurate dequant of near zero coefficients

Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 84af4a7e
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment