From: Moises Silva Date: Mon, 30 May 2011 16:26:21 +0000 (-0400) Subject: mod_sangoma_codec: Update max ms loop limit X-Git-Tag: v1.2-rc1~108^2~11^2~40^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a5af7df6089a258e7c2a143c2982ec0f8accbb;p=thirdparty%2Ffreeswitch.git mod_sangoma_codec: Update max ms loop limit --- diff --git a/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c b/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c index 322da31272..6da0ca0b17 100644 --- a/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c +++ b/src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c @@ -1269,10 +1269,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sangoma_codec_load) * At this point there is an empty shell codec interface registered, but not yet implementations */ SWITCH_ADD_CODEC(codec_interface, g_codec_map[c].fs_name); - /* Now add as many codec implementations as needed, just up to 40ms for now */ + /* Now add as many codec implementations as needed, just up to 200ms for now */ if (g_codec_map[c].autoinit) { int ms = 0; - for (i = 1; i <= 4; i++) { + for (i = 1; i <= 20; i++) { ms = i * 10; if (g_codec_map[c].maxms < ms) { break;