diff options
Diffstat (limited to 'encoders')
-rw-r--r-- | encoders/lame_encoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/encoders/lame_encoder.cpp b/encoders/lame_encoder.cpp index be6f684..6616b87 100644 --- a/encoders/lame_encoder.cpp +++ b/encoders/lame_encoder.cpp @@ -24,8 +24,8 @@ size_t EncoderLame::flush(uint8_t *output, size_t output_size) { } std::size_t EncoderLame::read(char* buf, std::size_t buf_size) { - char src_data[0x2000]; - std::streamsize src_read = source->read(src_data, 0x2000); + char src_data[0x30000]; + std::streamsize src_read = source->read(src_data, 0x30000); if(src_read < 0) src_read = 0; std::streamsize size = encode((const uint8_t*)src_data, src_read, (uint8_t*)buf, buf_size); |