1
0
Fork 0
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:
Linus Nielsen Feltzing 2005-11-11 17:04:10 +00:00
parent 00928af4dd
commit c2a0406e10

View file

@ -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;
}
}