update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5483 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
aca9dbe8ee
commit
906bb70654
|
@ -1226,6 +1226,8 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(const switch_codec_
|
||||||
last = name = next = cur = buf;
|
last = name = next = cur = buf;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
||||||
|
|
||||||
if (!next) {
|
if (!next) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1233,10 +1235,11 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(const switch_codec_
|
||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
}
|
}
|
||||||
next = p;
|
next = p;
|
||||||
|
|
||||||
if (cur != name) {
|
if (cur != name) {
|
||||||
if (strchr(cur, 'i')) {
|
if (strchr(cur, 'i')) {
|
||||||
interval = atoi(cur);
|
interval = atoi(cur);
|
||||||
} else if (strchr(cur, 'k' || strchr(cur, 'h'))) {
|
} else if ((strchr(cur, 'k') || strchr(cur, 'h'))) {
|
||||||
rate = atoi(cur);
|
rate = atoi(cur);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue