Commit 40d503dd authored by superdump's avatar superdump

Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()

Patch by Colin McQuillan ( m.niloc googlemail com )


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19574 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d92b31de
...@@ -110,6 +110,6 @@ void ff_celp_lp_zero_synthesis_filterf(float *out, ...@@ -110,6 +110,6 @@ void ff_celp_lp_zero_synthesis_filterf(float *out,
for (n = 0; n < buffer_length; n++) { for (n = 0; n < buffer_length; n++) {
out[n] = in[n]; out[n] = in[n];
for (i = 1; i < filter_length; i++) for (i = 1; i < filter_length; i++)
out[n] -= filter_coeffs[i-1] * in[n-i]; out[n] += filter_coeffs[i-1] * in[n-i];
} }
} }
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