From 442d2e74e359e44ed42d67341229df0d9010a04c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 30 May 2010 17:27:03 +0200 Subject: decoder/mad: fix buffer variable name on !HAVE_ID3TAG --- src/decoder/mad_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3