mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
metadata: opus, vorbis, speex: Don't fill metadata buffer with album art and cuesheet
Fixup for 0847bcc1
. Fixes FS#13586
Change-Id: I2af63747266bf0dea85812354caadca432dfcd32
This commit is contained in:
parent
7d51b14cca
commit
ed40c5a036
1 changed files with 4 additions and 6 deletions
|
@ -444,8 +444,8 @@ long read_vorbis_tags(int fd, struct mp3entry *id3,
|
||||||
id3->albumart.pos = picframe_pos_b64 + before_block_pos;
|
id3->albumart.pos = picframe_pos_b64 + before_block_pos;
|
||||||
id3->albumart.size = after_block_pos - id3->albumart.pos;
|
id3->albumart.size = after_block_pos - id3->albumart.pos;
|
||||||
}
|
}
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
#endif
|
#endif
|
||||||
/* Is it an embedded cuesheet? */
|
/* Is it an embedded cuesheet? */
|
||||||
if (!strcasecmp(name, "CUESHEET"))
|
if (!strcasecmp(name, "CUESHEET"))
|
||||||
|
@ -454,12 +454,10 @@ long read_vorbis_tags(int fd, struct mp3entry *id3,
|
||||||
id3->embedded_cuesheet.pos = lseek(file.fd, 0, SEEK_CUR) - read_len;
|
id3->embedded_cuesheet.pos = lseek(file.fd, 0, SEEK_CUR) - read_len;
|
||||||
id3->embedded_cuesheet.size = len;
|
id3->embedded_cuesheet.size = len;
|
||||||
id3->embedded_cuesheet.encoding = CHAR_ENC_UTF_8;
|
id3->embedded_cuesheet.encoding = CHAR_ENC_UTF_8;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
len = parse_tag(name, id3->path, id3, buf, buf_remaining, TAGTYPE_VORBIS);
|
||||||
len = parse_tag(name, id3->path, id3, buf, buf_remaining,
|
|
||||||
TAGTYPE_VORBIS);
|
|
||||||
}
|
|
||||||
|
|
||||||
buf += len;
|
buf += len;
|
||||||
buf_remaining -= len;
|
buf_remaining -= len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue