]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10243: [mod_conference] Add conference variables -- fix typo
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 20 Apr 2017 18:47:25 +0000 (13:47 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 20 Apr 2017 18:47:25 +0000 (13:47 -0500)
src/mod/applications/mod_conference/conference_api.c

index c399e183659d6e3b8897bd944e42959009c41fe4..cbd8a51aa378bc3340321d61d468d895dc8bb713 100644 (file)
@@ -1333,7 +1333,7 @@ switch_status_t conference_api_sub_vid_bandwidth(conference_obj_t *conference, s
        switch_split(argv[2], ':', array);
 
        if (array[1]) {
-               sdiv = atoi(array[2]);
+               sdiv = atoi(array[1]);
                if (sdiv < 2 || sdiv > 8) {
                        sdiv = 0;
                }