shithub: aubio

Download patch

ref: 6124059c77f482ad272b2ce9fc4a45d91edf4245
parent: 6091189eeba375ba00b5a88fd381f8b9b1c05cb8
author: Paul Brossier <piem@piem.org>
date: Mon Nov 26 11:27:58 EST 2018

[dct] remove size check to test each method

--- a/src/spectral/dct.c
+++ b/src/spectral/dct.c
@@ -81,7 +81,6 @@
 
 aubio_dct_t* new_aubio_dct (uint_t size) {
   aubio_dct_t * s = AUBIO_NEW(aubio_dct_t);
-  if ((sint_t)size <= 0) goto beach;
 #if defined(HAVE_ACCELERATE)
   // vDSP supports sizes = f * 2 ** n, where n >= 4 and f in [1, 3, 5, 15]
   // see https://developer.apple.com/documentation/accelerate/1449930-vdsp_dct_createsetup