fix silence_stream size bug

This commit is contained in:
Anthony Minessale 2013-05-17 16:11:04 -05:00
parent ea881b191f
commit e03b6d0878
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ static switch_status_t silence_stream_file_read(switch_file_handle_t *handle, vo
if (sh->silence) {
switch_generate_sln_silence((int16_t *) data, *len, sh->silence);
} else {
memset(data, 0, *len);
memset(data, 0, *len * 2);
}
return SWITCH_STATUS_SUCCESS;