decoder/mad: fix buffer variable name on !HAVE_ID3TAG
This commit is contained in:
parent
28736414a8
commit
442d2e74e3
@ -434,10 +434,10 @@ static void mp3_parse_id3(struct mp3_data *data, size_t tagsize,
|
|||||||
|
|
||||||
while (count < tagsize) {
|
while (count < tagsize) {
|
||||||
size_t len = tagsize - count;
|
size_t len = tagsize - count;
|
||||||
if (len > sizeof(buffer))
|
|
||||||
len = sizeof(buffer);
|
|
||||||
|
|
||||||
char ignored[1024];
|
char ignored[1024];
|
||||||
|
if (len > sizeof(ignored))
|
||||||
|
len = sizeof(ignored);
|
||||||
|
|
||||||
len = decoder_read(data->decoder, data->input_stream,
|
len = decoder_read(data->decoder, data->input_stream,
|
||||||
ignored, len);
|
ignored, len);
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user