From: Paul Brossier Date: Sun, 12 Aug 2018 20:36:37 +0000 (+0200) Subject: src/spectral/dct_ipp.c: allow size 1 X-Git-Tag: 0.4.7~20^2~11 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=eed413353c79f36d295843a496b0f9faf4a12bd3;p=aubio.git src/spectral/dct_ipp.c: allow size 1 --- 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; }