FS-10174 [mod_conference] fix segfault after playing alone-sound when video is not enabled

This commit is contained in:
Antonio 2017-03-23 17:08:53 +01:00
parent 856c87b4cb
commit bd4b835c4c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ switch_status_t conference_file_close(conference_obj_t *conference, conference_f
} }
#endif #endif
if (node->canvas_id > -1) { if (node->canvas_id > -1 && conference->canvases[node->canvas_id]) {
canvas = conference->canvases[node->canvas_id]; canvas = conference->canvases[node->canvas_id];
if (canvas->playing_video_file) { if (canvas->playing_video_file) {