fix compiler warning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10730 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-12-12 15:09:44 +00:00
parent 264e044f7c
commit 5668dbe0b2
1 changed files with 1 additions and 1 deletions

View 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;