diff options
author | Max Kellermann <max@duempel.org> | 2010-05-30 17:27:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-30 17:27:03 +0200 |
commit | 442d2e74e359e44ed42d67341229df0d9010a04c (patch) | |
tree | 20bc38c70652a6e7059998e6065a1947389d162f /src/decoder/mad_plugin.c | |
parent | 28736414a8b1ae4878d4d18f042a9c04ef7dd6c5 (diff) | |
download | mpd-442d2e74e359e44ed42d67341229df0d9010a04c.tar.gz mpd-442d2e74e359e44ed42d67341229df0d9010a04c.tar.xz mpd-442d2e74e359e44ed42d67341229df0d9010a04c.zip |
decoder/mad: fix buffer variable name on !HAVE_ID3TAG
Diffstat (limited to '')
-rw-r--r-- | src/decoder/mad_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder/mad_plugin.c b/src/decoder/mad_plugin.c index 1bda418e0..ee07ae5a4 100644 --- a/src/decoder/mad_plugin.c +++ b/src/decoder/mad_plugin.c @@ -434,10 +434,10 @@ static void mp3_parse_id3(struct mp3_data *data, size_t tagsize, while (count < tagsize) { size_t len = tagsize - count; - if (len > sizeof(buffer)) - len = sizeof(buffer); - char ignored[1024]; + if (len > sizeof(ignored)) + len = sizeof(ignored); + len = decoder_read(data->decoder, data->input_stream, ignored, len); if (len == 0) |