fix crash in coreapi

This commit is contained in:
Simon Morlat 2013-02-22 22:18:08 +01:00
parent 468a1b69d4
commit a8f757be70
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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;
}