From 31cacbd8168750729198188bd3ad983c0e4cd4c4 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 25 Oct 2015 10:13:16 +0100 Subject: call: fix warning if USE_VIDEO is not set --- src/call.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/call.c b/src/call.c index c67980d..88c2d11 100644 --- a/src/call.c +++ b/src/call.c @@ -392,6 +392,7 @@ static void audio_error_handler(int err, const char *str, void *arg) } +#ifdef USE_VIDEO static void video_error_handler(int err, const char *str, void *arg) { struct call *call = arg; @@ -402,6 +403,7 @@ static void video_error_handler(int err, const char *str, void *arg) call_stream_stop(call); call_event_handler(call, CALL_EVENT_CLOSED, str); } +#endif static void menc_error_handler(int err, void *arg) -- cgit v1.2.3