summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorMohamed Naufal Basheer <naufal11@gmail.com>2012-07-10 19:58:39 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-07-22 07:58:53 +0200
commit8aac5585fa7e50d899103efaa3aa4b2a774b16b4 (patch)
tree8955db7348e78c4ef9c4124784aa52ead12c9bbd /libavcodec/ra144.c
parent51a5ddfa017f5229ff18da58f7cef908fd312138 (diff)
Add a shift parameter to celp_lp_synthesis_filter()
This is intended for reuse by the G.723.1 decoder Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index e6442d694d..8b5ea3aab2 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -1715,6 +1715,6 @@ void ff_subblock_synthesis(RA144Context *ractx, const uint16_t *lpc_coefs,
LPC_ORDER*sizeof(*ractx->curr_sblock));
if (ff_celp_lp_synthesis_filter(ractx->curr_sblock + LPC_ORDER, lpc_coefs,
- block, BLOCKSIZE, LPC_ORDER, 1, 0xfff))
+ block, BLOCKSIZE, LPC_ORDER, 1, 0, 0xfff))
memset(ractx->curr_sblock, 0, (LPC_ORDER+BLOCKSIZE)*sizeof(*ractx->curr_sblock));
}