diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-08-06 20:25:16 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-08-08 13:23:22 +0200 |
commit | f86b2f36612debf10a07300acadba08f7b092bcb (patch) | |
tree | 90146302389c1d56f3847c249ff69a5a9d877095 /libavcodec | |
parent | 385ec296f1b39a2f49d1e897a2606c29da173f6a (diff) | |
download | ffmpeg-f86b2f36612debf10a07300acadba08f7b092bcb.tar.gz |
g723_1: use all LPC vectors in formant postfilter
Due to some mistake LPC vector for the first subframe was used for all
subframes instead of their own LPC vectors.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/g723_1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index 9770dd6cf7..aabb03d447 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -946,6 +946,7 @@ static void formant_postfilter(G723_1_Context *p, int16_t *lpc, int16_t *buf) } iir_filter(filter_coef[0], filter_coef[1], buf + i, filter_signal + i); + lpc += LPC_ORDER; } memcpy(p->fir_mem, buf + FRAME_LEN, LPC_ORDER * sizeof(*p->fir_mem)); |