mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-31 10:46:27 +00:00
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!r_sdp) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ((parser = sdp_parse(NULL, r_sdp, (int) strlen(r_sdp), 0))) {
|
if ((parser = sdp_parse(NULL, r_sdp, (int) strlen(r_sdp), 0))) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user