Commit f9eff312 authored by Max Kellermann's avatar Max Kellermann

decoder/mad: use sizeof(input_buffer)

parent 1d74a029
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment