mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix null pointer exception
This commit is contained in:
parent
8176edfa28
commit
8d9cb2fd7d
1 changed files with 3 additions and 1 deletions
|
|
@ -1916,8 +1916,10 @@ void linphone_call_stop_video_stream(LinphoneCall *call) {
|
|||
void linphone_call_stop_media_streams(LinphoneCall *call){
|
||||
linphone_call_stop_audio_stream(call);
|
||||
linphone_call_stop_video_stream(call);
|
||||
ms_event_queue_skip(call->core->msevq);
|
||||
|
||||
if (call->core->msevq != NULL) {
|
||||
ms_event_queue_skip(call->core->msevq);
|
||||
}
|
||||
if (call->audio_profile){
|
||||
rtp_profile_clear_all(call->audio_profile);
|
||||
rtp_profile_destroy(call->audio_profile);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue