Remove unneeded var

Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-07-03 19:25:12 +00:00
parent 780433976d
commit ab52eb8e50
1 changed files with 1 additions and 3 deletions

View File

@ -45,7 +45,6 @@ static void decode(Real288_internal *glob, int amp_coef, int cb_coef)
double sum, sumsum;
float *p1, *p2;
float buffer[5];
const float *table;
for (x=36; x--; glob->sb[x+5] = glob->sb[x]);
@ -58,7 +57,6 @@ static void decode(Real288_internal *glob, int amp_coef, int cb_coef)
}
f = amptable[amp_coef];
table = codetable[cb_coef];
/* convert log and do rms */
for (sum=32, x=10; x--; sum -= glob->pr2[x] * glob->lhist[x]);
@ -71,7 +69,7 @@ static void decode(Real288_internal *glob, int amp_coef, int cb_coef)
sumsum = exp(sum * 0.1151292546497) * f; /* pow(10.0,sum/20)*f */
for (sum=0, x=5; x--;) {
buffer[x] = table[x] * sumsum;
buffer[x] = codetable[cb_coef][x] * sumsum;
sum += buffer[x] * buffer[x];
}