aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-29 21:37:03 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-29 21:37:03 +0000
commitfe4a5b185fdb5a96c1c66018e113b5144b01f6f3 (patch)
treeea31510a01795968de41f2264eb5818fd28acc76 /libavcodec/ra144.c
parentb83ff6c700a7aefaa54f5389f37f37bccc2d4ee1 (diff)
downloadffmpeg-fe4a5b185fdb5a96c1c66018e113b5144b01f6f3.tar.gz
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
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c4
1 files changed, 2 insertions, 2 deletions
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));
}