From 2ae88375cdd2b5df72bd1ac32477834136b32ab8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 25 Apr 2009 22:10:40 +0000 Subject: [PATCH] init buffer git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13151 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_play_say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);