Commit a8f757be authored by Simon Morlat's avatar Simon Morlat

fix crash in coreapi

parent 468a1b69
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment