[FFmpeg-cvslog] r14063 - trunk/libavcodec/ra288.c
vitor
subversion
Thu Jul 3 21:25:12 CEST 2008
Author: vitor
Date: Thu Jul 3 21:25:12 2008
New Revision: 14063
Log:
Remove unneeded var
Modified:
trunk/libavcodec/ra288.c
Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c (original)
+++ trunk/libavcodec/ra288.c Thu Jul 3 21:25:12 2008
@@ -45,7 +45,6 @@ static void decode(Real288_internal *glo
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 *glo
}
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 *glo
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];
}
More information about the ffmpeg-cvslog
mailing list