From 60f6726c61d463c43e6038b629628f509add2e3c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 19 Feb 2014 18:07:04 +0100 Subject: [PATCH] Fix bug from code deactivated when video was not enabled. --- coreapi/linphonecore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d5118a8a9..c2ff6a028 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3077,10 +3077,12 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho } #endif //BUILD_UPNP } - +#endif /* VIDEO_ENABLED */ + _linphone_call_params_copy(&call->params,params); linphone_call_make_local_media_description(lc, call); +#ifdef VIDEO_ENABLED // Video adding if (!has_video && call->params.has_video) { if (call->ice_session != NULL) {