From: Paul Brossier Date: Mon, 13 Aug 2018 23:05:16 +0000 (+0200) Subject: src/spectral/dct.c: ooura supports size > 1 X-Git-Tag: 0.4.7~20^2~8 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=aad7702b99db3ce982e06ecdc7d360d1e9df7d74;p=aubio.git src/spectral/dct.c: ooura supports size > 1 --- diff --git a/src/spectral/dct.c b/src/spectral/dct.c index 85c0098e..e40fe8be 100644 --- a/src/spectral/dct.c +++ b/src/spectral/dct.c @@ -125,7 +125,7 @@ aubio_dct_t* new_aubio_dct (uint_t size) { } #else // ooura support sizes that are power of 2 - if (aubio_is_power_of_two(size) != 1) { + if (aubio_is_power_of_two(size) != 1 || size == 1) { goto plain; } s->dct = (void *)new_aubio_dct_ooura (size);