mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Remove unneeded var
Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
780433976d
commit
ab52eb8e50
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user