Browse Source

Remove unneeded var

Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
ab52eb8e50
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavcodec/ra288.c

+ 1
- 3
libavcodec/ra288.c 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];
}



Loading…
Cancel
Save