Commit d5652f38 authored by Colin McQuillan's avatar Colin McQuillan Committed by Robert Swain

Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()

Patch by Colin McQuillan ( m.niloc googlemail com )

Originally committed as revision 19574 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f7e13535
...@@ -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