1
0
Fork 0
forked from len0rd/rockbox

ignore comments containing iTunes 7 gapless data; should solve issues reported in http://forums.rockbox.org/index.php?topic=12048.0 and http://forums.rockbox.org/index.php?topic=12053.0

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14294 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Kukla 2007-08-12 14:13:33 +00:00
parent ea88571493
commit 0bd027aa1a

View file

@ -900,6 +900,9 @@ static void setid3v2title(int fd, struct mp3entry *entry)
*/
if(!memcmp( header, "COMM", 4 )) {
/* ignore comments with iTunes 7 gapless data */
if(!strcmp(tag+4, "iTunNORM"))
break;
comm_offset = 3 + strlen(tag+4) + 1;
if(bytesread>comm_offset) {
bytesread-=comm_offset;