When seeking, actually use the MP3 VBR TOC again, if available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2006-10-19 18:03:11 +00:00
parent 4950b55837
commit 2cf14db0c8

View file

@ -442,6 +442,7 @@ int get_mp3file_info(int fd, struct mp3info *info)
if (vbrheader[7] & VBR_TOC_FLAG) /* Is table-of-contents there? */
{
info->has_toc = true;
memcpy( info->toc, vbrheader+i, 100 );
i += 100;
}