提交 564e791d authored 作者: Michael Jerris's avatar Michael Jerris

type tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2915 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9d91ece9
......@@ -586,11 +586,11 @@ SWITCH_DECLARE(switch_codec_interface_t *) switch_loadable_module_get_codec_inte
if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, name))) {
for(x = 0; x < strlen(name); x++) {
altname[x] = (char)toupper(name[x]);
altname[x] = (char)toupper((int)name[x]);
}
if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, altname))) {
for(x = 0; x < strlen(name); x++) {
altname[x] = (char)tolower(name[x]);
altname[x] = (char)tolower((int)name[x]);
}
codec = switch_core_hash_find(loadable_modules.codec_hash, altname);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论