summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c2
1 files changed, 2 insertions, 0 deletions
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)