Commit fd8897e8 authored by Vitor Sessak's avatar Vitor Sessak

Convert table to integer.

Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ff9a056d
......@@ -93,7 +93,7 @@ static void decode(RA288Context *ractx, float gain, int cb_coef)
sumsum = exp(sum * 0.1151292546497) * gain; /* pow(10.0,sum/20)*gain */
for (i=0; i < 5; i++)
buffer[i] = codetable[cb_coef][i] * sumsum;
buffer[i] = codetable[cb_coef][i] * sumsum * (1./2048.);
sum = scalar_product_float(buffer, buffer, 5) / 5;
......
This diff is collapsed.
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