forked from len0rd/rockbox
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:
parent
4950b55837
commit
2cf14db0c8
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ int get_mp3file_info(int fd, struct mp3info *info)
|
||||||
|
|
||||||
if (vbrheader[7] & VBR_TOC_FLAG) /* Is table-of-contents there? */
|
if (vbrheader[7] & VBR_TOC_FLAG) /* Is table-of-contents there? */
|
||||||
{
|
{
|
||||||
|
info->has_toc = true;
|
||||||
memcpy( info->toc, vbrheader+i, 100 );
|
memcpy( info->toc, vbrheader+i, 100 );
|
||||||
i += 100;
|
i += 100;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue