FS-9154 tiny part belongs here too

This commit is contained in:
Anthony Minessale 2017-01-26 16:17:46 -06:00
parent f645326e74
commit 3fe597288e
1 changed files with 1 additions and 0 deletions

View File

@ -10526,6 +10526,7 @@ static void switch_core_media_set_r_sdp_codec_string(switch_core_session_t *sess
if (!zstr(codec_string)) {
char *tmp_codec_string;
if (*codec_string == '=') codec_string++;
if ((tmp_codec_string = strdup(codec_string))) {
num_codecs = switch_separate_string(tmp_codec_string, ',', codec_order, SWITCH_MAX_CODECS);
num_codecs = switch_loadable_module_get_codecs_sorted(codecs, fmtp, SWITCH_MAX_CODECS, codec_order, num_codecs);