From: Anthony Minessale Date: Mon, 17 Apr 2017 17:09:49 +0000 (-0500) Subject: FS-10225 X-Git-Tag: v1.6.18~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7751c61a276d9f567366fe4e45230662e8b17b69;p=thirdparty%2Ffreeswitch.git FS-10225 --- diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 2e2131cb1b..ccaa9cd2ee 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -1372,7 +1372,7 @@ video_layout_t *conference_video_find_best_layout(conference_obj_t *conference, } for (vlnode = lg->layouts; vlnode; vlnode = vlnode->next) { - int x, file_layers = 0, member_count = (int)count - file_count, total = vlnode->vlayout->layers; + int x, file_layers = 0, member_count = (int)count, total = vlnode->vlayout->layers; for (x = total; x >= 0; x--) {