forked from len0rd/rockbox
The ID3v2 parser can now correctly skip to the next frame after parsing a frame larger than the input buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
00928af4dd
commit
c2a0406e10
1 changed files with 4 additions and 0 deletions
|
@ -801,6 +801,10 @@ static void setid3v2title(int fd, struct mp3entry *entry)
|
|||
|
||||
if( tr->ppFunc )
|
||||
bufferpos = tr->ppFunc(entry, tag, bufferpos);
|
||||
|
||||
/* Seek to the next frame */
|
||||
if(framelen < totframelen)
|
||||
lseek(fd, totframelen - framelen, SEEK_CUR);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue