diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-05-27 17:01:33 +0400 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-05-27 17:01:33 +0400 |
commit | 54295e7c1b0e0c8b3ff5df3c08c4d2fdf641d008 (patch) | |
tree | 72aabd715b9cc2fc1044f44f2878c4596b6a4965 /libspeex | |
parent | 3ea24daa971f5aa64f522c4d5a30988e35cf55bc (diff) |
Fix to FFTW3 patch by Thorvald Natvig
git-svn-id: http://svn.xiph.org/trunk/speex@14967 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex')
-rw-r--r-- | libspeex/fftwrap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libspeex/fftwrap.c b/libspeex/fftwrap.c index 37d8fae..e4e80cf 100644 --- a/libspeex/fftwrap.c +++ b/libspeex/fftwrap.c @@ -201,6 +201,7 @@ void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out) iptr[1] = 0.0f; for(i=1;i<N;++i) iptr[i+1] = in[i]; + iptr[N+1] = 0.0f; fftwf_execute(t->ifft); |