mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
Prevent crash, video stream may not exist at this time.
This commit is contained in:
parent
fa824200e3
commit
93db3330b6
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ void linphone_call_enable_video(LinphoneCall *call, bool_t enabled)
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (ice_session != NULL) {
|
||||
if ((ice_session != NULL) && (call->videostream != NULL)) {
|
||||
ice_session_remove_check_list(ice_session, call->videostream->ice_check_list);
|
||||
call->videostream->ice_check_list = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue