Merge pull request #33 from dave-g8kbb/patch-1

Updade freedv.c freq_close()
pull/36/head
drowe67 2020-06-30 18:39:17 +09:30 committed by GitHub
commit 0a361f1e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -141,7 +141,10 @@ static void check_init() {
}
void freq_close() {
opus_fft_free(common.kfft,0);
if (common.init) {
opus_fft_free(common.kfft,0);
common.init = 0;
}
}
void dct(float *out, const float *in) {