From 7efea0504c964c7c7ded4f38964de626d2bb0bd6 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 13 Jun 2016 09:32:58 +0200 Subject: [PATCH] call_tester.c: always compile disable_all_video_codecs_except_one to fix no video builds --- tester/call_tester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/call_tester.c b/tester/call_tester.c index f4511666f..a749cc19f 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -1028,8 +1028,8 @@ void disable_all_audio_codecs_except_one(LinphoneCore *lc, const char *mime, int } } -#ifdef VIDEO_ENABLED void disable_all_video_codecs_except_one(LinphoneCore *lc, const char *mime) { +#ifdef VIDEO_ENABLED const MSList *codecs = linphone_core_get_video_codecs(lc); const MSList *it = NULL; PayloadType *pt = NULL; @@ -1041,8 +1041,8 @@ void disable_all_video_codecs_except_one(LinphoneCore *lc, const char *mime) { if (BC_ASSERT_PTR_NOT_NULL(pt)) { linphone_core_enable_payload_type(lc, pt, TRUE); } -} #endif +} static void call_with_dns_time_out(void) { LinphoneCoreManager* marie = linphone_core_manager_new2( "empty_rc", FALSE);