FS-10174 [mod_conference] fix segfault after playing alone-sound when video is not enabled
This commit is contained in:
parent
856c87b4cb
commit
bd4b835c4c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue