[Freeswitch-svn] [commit] r13151 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Sat Apr 25 15:10:40 PDT 2009


Author: anthm
Date: Sat Apr 25 17:10:40 2009
New Revision: 13151

Log:
init buffer

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Sat Apr 25 17:10:40 2009
@@ -392,7 +392,7 @@
 	int waste_resources = 0;
     switch_codec_implementation_t read_impl = {0};
 	switch_frame_t write_frame = { 0 };
-	char write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE];
+	unsigned char write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE] = { 0 };
 
 
     switch_core_session_get_read_impl(session, &read_impl);



More information about the Freeswitch-svn mailing list