changeset 10013:454cb6aa43a3 libavcodec

Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf() Patch by Colin McQuillan ( m.niloc googlemail com )
author superdump
date Mon, 03 Aug 2009 17:15:01 +0000
parents fef7b43f0d22
children f2fa6cbb01ce
files celp_filters.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/celp_filters.c	Mon Aug 03 15:23:53 2009 +0000
+++ b/celp_filters.c	Mon Aug 03 17:15:01 2009 +0000
@@ -110,6 +110,6 @@
     for (n = 0; n < buffer_length; n++) {
         out[n] = in[n];
         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];
     }
 }