FS-5807 --resolve

This commit is contained in:
Anthony Minessale 2013-09-20 21:41:19 +05:00
parent 8ceb262b9e
commit 75da9d1e73
1 changed files with 1 additions and 1 deletions

View File

@ -1255,7 +1255,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
if (!abuf) {
switch_zmalloc(abuf, FILE_STARTSAMPLES * sizeof(*abuf));
switch_zmalloc(abuf, FILE_STARTSAMPLES * sizeof(*abuf) * fh->channels);
write_frame.data = abuf;
write_frame.buflen = FILE_STARTSAMPLES;
}