projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c65660
)
simplify
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Apr 2008 15:03:07 +0000
(15:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Apr 2008 15:03:07 +0000
(15:03 +0000)
Originally committed as revision 12855 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/nellymoserdec.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/nellymoserdec.c
b/libavcodec/nellymoserdec.c
index
8a829b3
..
fc57f2d
100644
(file)
--- a/
libavcodec/nellymoserdec.c
+++ b/
libavcodec/nellymoserdec.c
@@
-119,9
+119,8
@@
static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
bot = 0;
top = NELLY_BUF_LEN-1;
- while (bot < NELLY_BUF_LEN
/2
) {
+ while (bot < NELLY_BUF_LEN) {
audio[bot] = ( a_in[bot]*sine_window[bot]+state[bot]*sine_window[top])/s->scale_bias + s->add_bias;
- audio[top] = ( a_in[top]*sine_window[top]+state[top]*sine_window[bot])/s->scale_bias + s->add_bias;
bot++;
top--;