aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_speex.c
diff options
context:
space:
mode:
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;