diff celp_filters.c @ 9017:1e2c96617886 libavcodec

Change sign in ff_celp_lp_synthesis_filterf(). This makes this function useful for AMR and RA144. Patch by Kenan Gillet
author vitor
date Mon, 23 Feb 2009 22:19:16 +0000
parents 4c95f44c4c23
children 1a3865d1b049
line wrap: on
line diff
--- a/celp_filters.c	Mon Feb 23 19:25:18 2009 +0000
+++ b/celp_filters.c	Mon Feb 23 22:19:16 2009 +0000
@@ -102,6 +102,6 @@
     {
         out[n] = in[n];
         for(i=1; i<filter_length; i++)
-            out[n] += filter_coeffs[i] * out[n-i];
+            out[n] -= filter_coeffs[i] * out[n-i];
     }
 }