fix compilation problems without video

This commit is contained in:
smorlat 2010-08-17 15:46:39 +02:00
parent 0ec655d063
commit c18cff36d5
2 changed files with 2 additions and 2 deletions

View file

@ -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 ;

View file

@ -395,7 +395,7 @@ void linphone_call_init_media_streams(LinphoneCall *call){
#endif
}
#else
lc->videostream=NULL;
call->videostream=NULL;
#endif
}