FS-9482 #resolve [uuid_media_3p - seg fault on 2nd attempt]

This commit is contained in:
Anthony Minessale 2016-09-06 10:45:50 -05:00
parent f48fbf1666
commit 5ecde9478a
1 changed files with 5 additions and 0 deletions

View File

@ -3733,6 +3733,11 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
switch_assert(session);
if (!r_sdp) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Tried to negotiate a blank SDP?\n");
return 0;
}
if (!(smh = session->media_handle)) {
return 0;
}