From c18cff36d523be5745a5e3e225e9162a7a1ff050 Mon Sep 17 00:00:00 2001 From: smorlat Date: Tue, 17 Aug 2010 15:46:39 +0200 Subject: [PATCH] fix compilation problems without video --- coreapi/callbacks.c | 2 +- coreapi/linphonecall.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 597aeb0c8..5def5557f 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -438,8 +438,8 @@ static void register_failure(SalOp *op, SalError error, SalReason reason, const } static void vfu_request(SalOp *op){ - LinphoneCall *call=(LinphoneCall*)sal_op_get_user_pointer (op); #ifdef VIDEO_ENABLED + LinphoneCall *call=(LinphoneCall*)sal_op_get_user_pointer (op); if (call==NULL){ ms_warning("VFU request but no call !"); return ; diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 17df0e52a..fbb4f0212 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -395,7 +395,7 @@ void linphone_call_init_media_streams(LinphoneCall *call){ #endif } #else - lc->videostream=NULL; + call->videostream=NULL; #endif }