Commit a8a81b88 authored by vitor's avatar vitor

Convert table to integer.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 54e08b6d
......@@ -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