ref: eed413353c79f36d295843a496b0f9faf4a12bd3
parent: 4daa7ec629cb0273e68aff1fcd4eb9fc9a52e93a
author: Paul Brossier <piem@piem.org>
date: Sun Aug 12 18:36:37 EDT 2018
src/spectral/dct_ipp.c: allow size 1
--- a/src/spectral/dct_ipp.c
+++ b/src/spectral/dct_ipp.c
@@ -67,8 +67,8 @@
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;
}