From 8915b1ff3ee9fe40df4c0d1b2d794c443e83a1cc Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 18 Jan 2011 16:17:06 +0100 Subject: [PATCH] fix android compile bug --- coreapi/linphonecore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 1f6679999..40d4257b0 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2185,11 +2185,14 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho sal_call_set_local_media_description (call->op,call->localdesc); err=sal_call_update(call->op); }else{ +#ifdef VIDEO_ENABLED if (call->videostream!=NULL){ video_stream_set_sent_video_size(call->videostream,linphone_core_get_preferred_video_size(lc)); video_stream_update_video_params (call->videostream); } +#endif } + return err; }