From 6d5590a76a7d7f552ef394d12a33b7c9b091c003 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 20 Mar 2015 19:03:33 -0400 Subject: [PATCH] FS-7513: don't seg when you have a mute png defined that can not be read --- src/mod/applications/mod_conference/mod_conference.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index c47df1014b..5c719cee7b 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1861,7 +1861,9 @@ static void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread layer->mute_img = switch_img_read_png(imember->video_mute_png); } - scale_and_patch(conference, layer, layer->mute_img, SWITCH_TRUE); + if (layer->mute_img) { + scale_and_patch(conference, layer, layer->mute_img, SWITCH_TRUE); + } layer->mute_patched = 1; } }