From 0700c028568d5a08d52620b984c7b8c5fab421fa Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 22 Jun 2015 08:32:01 +0200 Subject: [PATCH] Fix build without video. --- coreapi/linphonecall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 511265742..0ec86d082 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2687,6 +2687,7 @@ static void linphone_call_start_audio_stream(LinphoneCall *call, bool_t muted, b } } +#ifdef VIDEO_ENABLED static RtpSession * create_video_rtp_io_session(LinphoneCall *call) { PayloadType *pt; LinphoneCore *lc = call->core; @@ -2709,6 +2710,7 @@ static RtpSession * create_video_rtp_io_session(LinphoneCall *call) { } return rtp_session; } +#endif static void linphone_call_start_video_stream(LinphoneCall *call, bool_t all_inputs_muted){ #ifdef VIDEO_ENABLED