OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385ec29
)
g723_1: use all LPC vectors in formant postfilter
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 6 Aug 2012 18:25:16 +0000
(20:25 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 8 Aug 2012 11:23:22 +0000
(13:23 +0200)
Due to some mistake LPC vector for the first subframe was used for all
subframes instead of their own LPC vectors.
libavcodec/g723_1.c
patch
|
blob
|
history
diff --git
a/libavcodec/g723_1.c
b/libavcodec/g723_1.c
index
9770dd6
..
aabb03d
100644
(file)
--- 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));