Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7163:ec5bae4d05a2 | 7164:3c7f3265f970 |
---|---|
207 10*sizeof(*ractx->curr_sblock)); | 207 10*sizeof(*ractx->curr_sblock)); |
208 memcpy(ractx->curr_sblock + 10, block, | 208 memcpy(ractx->curr_sblock + 10, block, |
209 BLOCKSIZE*sizeof(*ractx->curr_sblock)); | 209 BLOCKSIZE*sizeof(*ractx->curr_sblock)); |
210 | 210 |
211 if (ff_acelp_lp_synthesis_filter( | 211 if (ff_acelp_lp_synthesis_filter( |
212 ractx->curr_sblock + 10, lpc_coefs -1, | 212 ractx->curr_sblock + 10, lpc_coefs, |
213 ractx->curr_sblock + 10, BLOCKSIZE, | 213 ractx->curr_sblock + 10, BLOCKSIZE, |
214 11, 1, 0xfff) | 214 10, 1, 0xfff) |
215 ) | 215 ) |
216 memset(ractx->curr_sblock, 0, 50*sizeof(*ractx->curr_sblock)); | 216 memset(ractx->curr_sblock, 0, 50*sizeof(*ractx->curr_sblock)); |
217 } | 217 } |
218 | 218 |
219 static void int_to_int16(int16_t *out, const int *inp) | 219 static void int_to_int16(int16_t *out, const int *inp) |