[Freeswitch-svn] [commit] r10730 - freeswitch/trunk/libs/libteletone/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Dec 12 07:09:47 PST 2008
Author: anthm
Date: Fri Dec 12 10:09:44 2008
New Revision: 10730
Log:
fix compiler warning
Modified:
freeswitch/trunk/libs/libteletone/src/libteletone_generate.c
Modified: freeswitch/trunk/libs/libteletone/src/libteletone_generate.c
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_generate.c (original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_generate.c Fri Dec 12 10:09:44 2008
@@ -208,7 +208,7 @@
/*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;
More information about the Freeswitch-svn
mailing list