diff options
Diffstat (limited to 'libspeex/fftwrap.c')
-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); |