shithub: aubio

Download patch

ref: c37aee16ffa47fd5f7eca78ab11965b4353045f5
parent: 860ef4bd5b80bed62add67f4260ad06a278bf4bb
author: Paul Brossier <piem@piem.org>
date: Mon Feb 7 07:55:36 EST 2011

src/mathutils.c: do not return NULL when wrong window type is passed (thanks to Olivier Robert)

--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -72,7 +72,6 @@
   else {
       AUBIO_ERR ("unknown window type %s, using default.\n", window_type);
       wintype = aubio_win_default;
-      return NULL;
   }
   switch(wintype) {
     case aubio_win_rectangle: