decoder/mad: use sizeof(input_buffer)
This commit is contained in:
parent
1d74a029a2
commit
f9eff31205
@ -223,7 +223,7 @@ MadDecoder::Seek(long offset)
|
||||
inline bool
|
||||
MadDecoder::FillBuffer()
|
||||
{
|
||||
size_t remaining = 0, length = READ_BUFFER_SIZE;
|
||||
size_t remaining = 0, length = sizeof(input_buffer);
|
||||
unsigned char *dest = input_buffer;
|
||||
|
||||
if (stream.next_frame != nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user