mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-11-14 05:52:51 -05:00
polishing SIMD changes
This commit is contained in:
@ -42,7 +42,7 @@ static kiss_fft_cfg find_cached_fft(int nfft,int inverse)
|
||||
if (cur== NULL) {
|
||||
/* no cached node found, need to create a new one*/
|
||||
kiss_fft_alloc(nfft,inverse,0,&len);
|
||||
cur = (kfc_cfg)malloc(sizeof(struct cached_fft) + len );
|
||||
cur = (kfc_cfg)KISS_FFT_MALLOC((sizeof(struct cached_fft) + len ));
|
||||
if (cur == NULL)
|
||||
return NULL;
|
||||
cur->cfg = (kiss_fft_cfg)(cur+1);
|
||||
|
||||
Reference in New Issue
Block a user