aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_speex.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-21 20:12:50 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-21 20:12:50 +0000
commit7c0eb401e6eee76211737edf5a41ea229c2b5727 (patch)
tree0f2200cab4114e13f04cd035cdfc82683d5f9e49 /codecs/codec_speex.c
parentb2043fb3e3d229cae2916803fa3d1c9e6840967a (diff)
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
Diffstat (limited to 'codecs/codec_speex.c')
-rw-r--r--codecs/codec_speex.c4
1 files changed, 2 insertions, 2 deletions
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;