# # Patch managed by http://www.holgerschurig.de/patcher.html # --- asterisk/codecs/codec_adpcm.c~plcoff +++ asterisk/codecs/codec_adpcm.c @@ -38,7 +38,7 @@ static char *tdesc = "Adaptive Differential PCM Coder/Decoder"; -static int useplc=1; +static int useplc = 0; /* Sample frame data */ @@ -563,7 +563,6 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) { --- asterisk/codecs/codec_alaw.c~plcoff +++ asterisk/codecs/codec_alaw.c @@ -32,7 +32,7 @@ static char *tdesc = "A-law Coder/Decoder"; -static int useplc = 1; +static int useplc = 0; /* Sample frame data (Mu data is okay) */ @@ -352,7 +352,7 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; + if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) { --- asterisk/codecs/codec_gsm.c~plcoff +++ asterisk/codecs/codec_gsm.c @@ -45,7 +45,7 @@ static char *tdesc = "GSM/PCM16 (signed linear) Codec Translator"; -static int useplc = 1; +static int useplc = 0; struct ast_translator_pvt { gsm gsm; @@ -276,7 +276,6 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) { --- asterisk/codecs/codec_lpc10.c~plcoff +++ asterisk/codecs/codec_lpc10.c @@ -49,7 +49,7 @@ static char *tdesc = "LPC10 2.4kbps (signed linear) Voice Coder"; -static int useplc = 1; +static int useplc = 0; struct ast_translator_pvt { union { @@ -351,7 +351,6 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) { --- asterisk/codecs/codec_ulaw.c~plcoff +++ asterisk/codecs/codec_ulaw.c @@ -32,7 +32,7 @@ static char *tdesc = "Mu-law Coder/Decoder"; -static int useplc = 1; +static int useplc = 0; /* Sample frame data */ @@ -352,7 +352,6 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) { --- asterisk/codecs/codec_g726.c~plcoff +++ asterisk/codecs/codec_g726.c @@ -51,7 +51,7 @@ static char *tdesc = "ITU G.726-32kbps G726 Transcoder"; -static int useplc = 1; +static int useplc = 0; /* Sample frame data */ @@ -999,7 +999,6 @@ { struct ast_config *cfg; struct ast_variable *var; - int res; if ((cfg = ast_config_load("codecs.conf"))) { if ((var = ast_variable_browse(cfg, "plc"))) { while (var) {