fix incorrect copy of parameters in linphone_core_accept_call_update()

This commit is contained in:
Simon Morlat 2013-08-04 15:09:47 +02:00
parent 3a163296ba
commit 0942ba67a6

View file

@ -3072,7 +3072,7 @@ int linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call, const
if (params==NULL){
call->params.has_video=lc->video_policy.automatically_accept || call->current_params.has_video;
}else
call->params=*params;
_linphone_call_params_copy(&call->params,params);
if (call->params.has_video && !linphone_core_video_enabled(lc)){
ms_warning("linphone_core_accept_call_update(): requested video but video support is globally disabled. Refusing video.");