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:
parent
d32eb4ce34
commit
97a52c1628
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue