From: Anthony Minessale Date: Sat, 25 Apr 2009 22:10:40 +0000 (+0000) Subject: init buffer X-Git-Tag: v1.0.4~1048 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ae88375cdd2b5df72bd1ac32477834136b32ab8;p=thirdparty%2Ffreeswitch.git init buffer git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13151 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index f5bc9e538a..368cd1eda9 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -392,7 +392,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se 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);