From 282a4cb88d775e64f7acce4f184bfd979ebab56d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 2 Sep 2014 09:15:57 +0200 Subject: [PATCH] Fix compilation on Windows. --- coreapi/linphonecall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 6438fc6d1..52d69496d 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1108,9 +1108,10 @@ const LinphoneCallParams * linphone_call_get_current_params(LinphoneCall *call){ const LinphoneCallParams * linphone_call_get_remote_params(LinphoneCall *call){ if (call->op){ LinphoneCallParams *cp; + SalMediaDescription *md; if (call->remote_params != NULL) linphone_call_params_unref(call->remote_params); cp = call->remote_params = linphone_call_params_new(); - SalMediaDescription *md=sal_call_get_remote_media_description(call->op); + md=sal_call_get_remote_media_description(call->op); if (md) { SalStreamDescription *sd; unsigned int i;