diff ra144.c @ 7164:3c7f3265f970 libavcodec

Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one
author vitor
date Sun, 29 Jun 2008 21:37:03 +0000
parents ec5bae4d05a2
children 16737361e9ab
line wrap: on
line diff
--- a/ra144.c	Sun Jun 29 13:12:31 2008 +0000
+++ b/ra144.c	Sun Jun 29 21:37:03 2008 +0000
@@ -209,9 +209,9 @@
            BLOCKSIZE*sizeof(*ractx->curr_sblock));
 
     if (ff_acelp_lp_synthesis_filter(
-                                     ractx->curr_sblock + 10, lpc_coefs -1,
+                                     ractx->curr_sblock + 10, lpc_coefs,
                                      ractx->curr_sblock + 10, BLOCKSIZE,
-                                     11, 1, 0xfff)
+                                     10, 1, 0xfff)
         )
         memset(ractx->curr_sblock, 0, 50*sizeof(*ractx->curr_sblock));
 }