mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
fix crash in coreapi
This commit is contained in:
parent
468a1b69d4
commit
a8f757be70
2 changed files with 2 additions and 3 deletions
|
|
@ -2829,8 +2829,8 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
|
|||
}
|
||||
#endif //BUILD_UPNP
|
||||
}
|
||||
|
||||
call->params = *params;
|
||||
|
||||
_linphone_call_params_copy(&call->params,params);
|
||||
linphone_call_make_local_media_description(lc, call);
|
||||
|
||||
// Video adding
|
||||
|
|
|
|||
|
|
@ -816,7 +816,6 @@ static gboolean linphone_gtk_auto_answer(LinphoneCall *call){
|
|||
LinphoneCallState state=linphone_call_get_state(call);
|
||||
if (state==LinphoneCallIncomingReceived || state==LinphoneCallIncomingEarlyMedia){
|
||||
accept_incoming_call(call);
|
||||
linphone_call_unref(call);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue