diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-10-25 10:13:16 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-10-25 10:13:16 +0100 |
commit | 31cacbd8168750729198188bd3ad983c0e4cd4c4 (patch) | |
tree | c84e721b732ab42d93498857badc19b418f5ff77 | |
parent | 67ab57b68836381e935d0b07508292536f208276 (diff) |
call: fix warning if USE_VIDEO is not set
-rw-r--r-- | src/call.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |