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
This commit is contained in:
Brian West 2009-02-17 17:49:12 +00:00
parent d32eb4ce34
commit 97a52c1628
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}