decoder/mad: fix buffer variable name on !HAVE_ID3TAG

This commit is contained in:
Max Kellermann 2010-05-30 17:27:03 +02:00
parent 28736414a8
commit 442d2e74e3

View File

@ -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)