Commit d59ae465 authored by vitor's avatar vitor

Remove useless var in compute_lpc_coefs()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15091 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0cafc270
......@@ -31,7 +31,7 @@
static void compute_lpc_coefs(const double *autoc, int max_order,
double lpc[][MAX_LPC_ORDER], double *ref)
{
int i, j, i2;
int i, j;
double err = autoc[0];
double lpc_tmp[MAX_LPC_ORDER];
......@@ -45,9 +45,8 @@ static void compute_lpc_coefs(const double *autoc, int max_order,
err *= 1.0 - (r * r);
i2 = (i >> 1);
lpc_tmp[i] = r;
for(j=0; j<i2; j++) {
for(j=0; j < i>>1; j++) {
double tmp = lpc_tmp[j];
lpc_tmp[j] += r * lpc_tmp[i-1-j];
lpc_tmp[i-1-j] += r * tmp;
......
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