From: Paul Brossier Date: Fri, 4 Feb 2011 09:08:42 +0000 (+0100) Subject: src/pitch/pitch.c: do not return NULL if unknown method selected (thanks to Olivier... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b583b9fb673169ebbf37820ea93875f18679fdb1;p=aubio.git src/pitch/pitch.c: do not return NULL if unknown method selected (thanks to Olivier Robert) --- diff --git a/src/pitch/pitch.c b/src/pitch/pitch.c index 3861d057..c5683831 100644 --- a/src/pitch/pitch.c +++ b/src/pitch/pitch.c @@ -133,7 +133,6 @@ new_aubio_pitch (char_t * pitch_mode, 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;