Open jerryctt opened 2 years ago
There is memory allocation issue under examples/keyword_spotting/mfcc.c line 208: float bin = mfcc_malloc(sizeof(float) mfcc->num_fbank+2); should be float bin = mfcc_malloc(sizeof(float) (mfcc->num_fbank+2));
Hi @jerryctt Yes indeed, thanks. Would you like to make a PR or I can fix it directly?
You can fix it directly. :)
This issue has been fixed in a commit and can be closed. CC @majianjia
There is memory allocation issue under examples/keyword_spotting/mfcc.c line 208: float bin = mfcc_malloc(sizeof(float) mfcc->num_fbank+2); should be float bin = mfcc_malloc(sizeof(float) (mfcc->num_fbank+2));