FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string

This commit is contained in:
Michael Jerris 2016-05-05 11:30:41 -04:00
parent 9293b6b9cc
commit 002079d0e7
1 changed files with 3 additions and 0 deletions

View File

@ -10095,6 +10095,9 @@ SWITCH_DECLARE(void) switch_core_media_set_sdp_codec_string(switch_core_session_
return;
}
if (!r_sdp) {
return;
}
if ((parser = sdp_parse(NULL, r_sdp, (int) strlen(r_sdp), 0))) {