From b583b9fb673169ebbf37820ea93875f18679fdb1 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 4 Feb 2011 10:08:42 +0100 Subject: [PATCH] src/pitch/pitch.c: do not return NULL if unknown method selected (thanks to Olivier Robert) --- src/pitch/pitch.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.26.2