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:
parent
ea88571493
commit
0bd027aa1a
1 changed files with 5 additions and 2 deletions
|
@ -900,6 +900,9 @@ static void setid3v2title(int fd, struct mp3entry *entry)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if(!memcmp( header, "COMM", 4 )) {
|
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;
|
comm_offset = 3 + strlen(tag+4) + 1;
|
||||||
if(bytesread>comm_offset) {
|
if(bytesread>comm_offset) {
|
||||||
bytesread-=comm_offset;
|
bytesread-=comm_offset;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue