提交 97a52c16 authored 作者: Brian West's avatar Brian West

this exception allowed for 1 thru 120 but two values are valud and thats 20 and…

this exception allowed for 1 thru 120 but two values are valud and thats 20 and 30 ONLY.  30 wins in all cases

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12103 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d32eb4ce
......@@ -442,7 +442,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec, co
mode += 5;
if (mode) {
mms = atoi(mode);
if (mms > 0 && mms < 120) {
if (mms == 20 || mms == 30) {
ms = mms;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论