]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix compiler warning
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Dec 2008 15:09:44 +0000 (15:09 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Dec 2008 15:09:44 +0000 (15:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10730 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libteletone/src/libteletone_generate.c

index d4ba507ad75c1248bb4b5b6d53331781a7bb0a54..1e330a90078d6ad29c133e68c9f042560cdad039 100644 (file)
@@ -208,7 +208,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m
        /*teletone_process_t period = (1.0 / ts->rate) / ts->channels;*/
        int i, c;
        int freqlen = 0;
-       teletone_dds_state_t tones[TELETONE_MAX_TONES];
+       teletone_dds_state_t tones[TELETONE_MAX_TONES+1];
        //int decay = 0;
        int duration;
        int wait = 0;