git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11157 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-01-13 05:22:21 +00:00
parent 3e40557761
commit 6c622d5c27

View File

@ -210,7 +210,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh,
switch_assert(fh->buffer);
}
if (!fh->dbuf) {
fh->dbuflen = want * 4;
fh->dbuflen = want * 8;
fh->dbuf = switch_core_alloc(fh->memory_pool, fh->dbuflen);
}
switch_assert(fh->resampler->to_len <= fh->dbuflen);