]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9493 #resolve [Possible crash when changing from normal to personal canvas on...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Sep 2016 18:00:49 +0000 (13:00 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Sep 2016 18:00:49 +0000 (13:00 -0500)
src/mod/applications/mod_conference/conference_video.c

index 84e16366ac6e3daa11f737753942c379538036be..d2a00a1902f96434d26ec247ff208f0bf5085312 100644 (file)
@@ -2900,7 +2900,7 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
                                switch_frame_t *dupframe;
 
                                if (!imember->rec && 
-                                       (!imember->session || !switch_channel_test_flag(imember->channel, CF_VIDEO_READY) ||
+                                       (!imember->session || !switch_channel_test_flag(imember->channel, CF_VIDEO_READY) || !imember->canvas ||
                                         switch_core_session_read_lock(imember->session) != SWITCH_STATUS_SUCCESS)) {
                                        continue;
                                }