aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_g722.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_g722.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_g722.c')
-rw-r--r--codecs/codec_g722.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_g722.c b/codecs/codec_g722.c
index 8e77e4c74..a81b9b6a1 100644
--- a/codecs/codec_g722.c
+++ b/codecs/codec_g722.c
@@ -231,7 +231,7 @@ static int parse_config(int reload)
struct ast_config *cfg = ast_config_load("codecs.conf", config_flags);
if (cfg == NULL)
- return -1;
+ return 0;
if (cfg == CONFIG_STATUS_FILEUNCHANGED)
return 0;
for (var = ast_variable_browse(cfg, "plc"); var; var = var->next) {