init buffer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13151 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-25 22:10:40 +00:00
parent 6580062daa
commit 2ae88375cd
1 changed files with 1 additions and 1 deletions

View File

@ -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);