From fe61a98ca5b8058c6281750454a3e3c8a393dd6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Thu, 26 Dec 2013 15:36:57 +0100 Subject: [PATCH] Remove unwanted message from IAX lib --- 3rdparty/iaxclient/lib/iaxclient_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rdparty/iaxclient/lib/iaxclient_lib.c b/3rdparty/iaxclient/lib/iaxclient_lib.c index b9e1b22a7..9ffa0ece2 100644 --- a/3rdparty/iaxclient/lib/iaxclient_lib.c +++ b/3rdparty/iaxclient/lib/iaxclient_lib.c @@ -1157,11 +1157,13 @@ static void iaxc_handle_network_event(struct iax_event *e, int callNo) case IAX_EVENT_ACCEPT: calls[callNo].format = e->ies.format & IAXC_AUDIO_FORMAT_MASK; calls[callNo].vformat = e->ies.format & IAXC_VIDEO_FORMAT_MASK; +#ifdef USE_VIDEO if ( !(e->ies.format & IAXC_VIDEO_FORMAT_MASK) ) { iaxci_usermsg(IAXC_NOTICE, "Failed video codec negotiation."); } +#endif iaxci_usermsg(IAXC_STATUS,"Call %d accepted", callNo); break; case IAX_EVENT_ANSWER: