From aad7702b99db3ce982e06ecdc7d360d1e9df7d74 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 14 Aug 2018 01:05:16 +0200 Subject: [PATCH] src/spectral/dct.c: ooura supports size > 1 --- src/spectral/dct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0