From 293ed89daab2458e327c609158d84b3fcfc489be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Thu, 21 Aug 2014 15:51:50 +0200 Subject: [PATCH] Delete CU_ASSERT_PTR_NOT_NULL while H264 detection --- 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 e8ab0d021..47606b7a3 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -2811,8 +2811,8 @@ static void record_call(const char *filename, bool_t enableVideo) { #ifdef VIDEO_ENABLED if(enableVideo) { - if((CU_ASSERT_PTR_NOT_NULL(linphone_core_find_payload_type(marie->lc, "H264", -1, -1))) - && (CU_ASSERT_PTR_NOT_NULL(linphone_core_find_payload_type(pauline->lc, "H264", -1, -1)))) { + if((linphone_core_find_payload_type(marie->lc, "H264", -1, -1) != NULL) + && (linphone_core_find_payload_type(pauline->lc, "H264", -1, -1) != NULL)) { linphone_call_params_enable_video(marieParams, TRUE); linphone_call_params_enable_video(paulineParams, TRUE); disable_all_video_codecs_except_one(marie->lc, "H264");