FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string
This commit is contained in:
parent
9293b6b9cc
commit
002079d0e7
|
@ -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))) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue