mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-20 05:54:22 -04:00
Initialize subsize explicitly
This is added to avoid crash on some platforms.
This commit is contained in:
@ -22,7 +22,7 @@ kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenme
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
kiss_fftr_cfg st = NULL;
|
kiss_fftr_cfg st = NULL;
|
||||||
size_t subsize, memneeded;
|
size_t subsize = 0, memneeded;
|
||||||
|
|
||||||
if (nfft & 1) {
|
if (nfft & 1) {
|
||||||
fprintf(stderr,"Real FFT optimization must be even.\n");
|
fprintf(stderr,"Real FFT optimization must be even.\n");
|
||||||
|
Reference in New Issue
Block a user