From 4ecd0432cfadb89667c4c95b9606ed08f9108477 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Wed, 20 Nov 2013 09:39:07 +0100 Subject: [PATCH] fix no video build --- coreapi/linphonecore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index fdf54e745..350dd3c40 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -4897,8 +4897,10 @@ unsigned long linphone_core_get_native_video_window_id(const LinphoneCore *lc){ /* unsets the video id for all calls (indeed it may be kept by filters or videostream object itself by paused calls)*/ static void unset_video_window_id(LinphoneCore *lc, bool_t preview, unsigned long id){ +#ifdef VIDEO_ENABLED LinphoneCall *call; MSList *elem; +#endif if (id!=0 && id!=-1) { ms_error("Invalid use of unset_video_window_id()");