From eed413353c79f36d295843a496b0f9faf4a12bd3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Aug 2018 22:36:37 +0200 Subject: [PATCH] src/spectral/dct_ipp.c: allow size 1 --- src/spectral/dct_ipp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spectral/dct_ipp.c b/src/spectral/dct_ipp.c index 7688d56a..273aa004 100644 --- a/src/spectral/dct_ipp.c +++ b/src/spectral/dct_ipp.c @@ -67,8 +67,8 @@ aubio_dct_ipp_t * new_aubio_dct_ipp (uint_t size) { int pSpecSize, pSpecBufferSize, pBufferSize; IppStatus status; - if ((sint_t)size <= 1) { - AUBIO_ERR("dct: can only create with sizes greater than 1, requested %d\n", + if ((sint_t)size <= 0) { + AUBIO_ERR("dct: can only create with sizes greater than 0, requested %d\n", size); goto beach; } -- 2.11.0