ref: b583b9fb673169ebbf37820ea93875f18679fdb1
parent: f66ccb9d420ea34348fe58300ed8d034f8ecac19
author: Paul Brossier <piem@piem.org>
date: Fri Feb 4 05:08:42 EST 2011
src/pitch/pitch.c: do not return NULL if unknown method selected (thanks to Olivier Robert)
--- a/src/pitch/pitch.c
+++ b/src/pitch/pitch.c
@@ -133,7 +133,6 @@
AUBIO_ERR ("unknown pitch detection method %s, using default.\n",
pitch_mode);
pitch_type = aubio_pitcht_default;
- return NULL;
}
p->srate = samplerate;
p->type = pitch_type;