From 7c0eb401e6eee76211737edf5a41ea229c2b5727 Mon Sep 17 00:00:00 2001 From: qwell Date: Fri, 21 Dec 2007 20:12:50 +0000 Subject: codecs.conf really shouldn't be mandatory.. it never had been before, so let's go back to being optional. A big "thank you" to pnlarsson on IRC for allowing me access to his system to debug this. Closes issue #11584. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94541 f38db490-d61c-443f-a65b-d21fe96a405b --- codecs/codec_speex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'codecs/codec_speex.c') diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c index 46d986860..21c98a5f5 100644 --- a/codecs/codec_speex.c +++ b/codecs/codec_speex.c @@ -373,8 +373,8 @@ static int parse_config(int reload) int res; float res_f; - if (cfg == NULL || cfg == CONFIG_STATUS_FILEUNCHANGED) - return -1; + if (cfg == NULL) + return 0; if (cfg == CONFIG_STATUS_FILEUNCHANGED) return 0; -- cgit v1.2.3