From fe4a5b185fdb5a96c1c66018e113b5144b01f6f3 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sun, 29 Jun 2008 21:37:03 +0000 Subject: Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ra144.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/ra144.c') diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index a7164fdd28..0398b13ced 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -209,9 +209,9 @@ static void do_output_subblock(RA144Context *ractx, const uint16_t *lpc_coefs, 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)); } -- cgit v1.2.3