提交 cdc8fd50 authored 作者: Mathieu Rene's avatar Mathieu Rene

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12951 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dfae1136
......@@ -2395,7 +2395,7 @@ void sofia_glue_set_r_sdp_codec_string(switch_channel_t *channel,const char *cod
char *codec_order[SWITCH_MAX_CODECS];
const switch_codec_implementation_t *codecs[SWITCH_MAX_CODECS] = { 0 };
if (codec_string) {
if (!switch_strlen_zero(codec_string)) {
char *tmp_codec_string;
if ((tmp_codec_string = strdup(codec_string))) {
num_codecs = switch_separate_string(tmp_codec_string, ',', codec_order, SWITCH_MAX_CODECS);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论