Commit 293ed89d authored by François Grisez's avatar François Grisez
Browse files

Delete CU_ASSERT_PTR_NOT_NULL while H264 detection

parent b6a9bdee
...@@ -2811,8 +2811,8 @@ static void record_call(const char *filename, bool_t enableVideo) { ...@@ -2811,8 +2811,8 @@ static void record_call(const char *filename, bool_t enableVideo) {
#ifdef VIDEO_ENABLED #ifdef VIDEO_ENABLED
if(enableVideo) { if(enableVideo) {
if((CU_ASSERT_PTR_NOT_NULL(linphone_core_find_payload_type(marie->lc, "H264", -1, -1))) if((linphone_core_find_payload_type(marie->lc, "H264", -1, -1) != NULL)
&& (CU_ASSERT_PTR_NOT_NULL(linphone_core_find_payload_type(pauline->lc, "H264", -1, -1)))) { && (linphone_core_find_payload_type(pauline->lc, "H264", -1, -1) != NULL)) {
linphone_call_params_enable_video(marieParams, TRUE); linphone_call_params_enable_video(marieParams, TRUE);
linphone_call_params_enable_video(paulineParams, TRUE); linphone_call_params_enable_video(paulineParams, TRUE);
disable_all_video_codecs_except_one(marie->lc, "H264"); disable_all_video_codecs_except_one(marie->lc, "H264");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment