forked from len0rd/rockbox
The ID3V2 TCON frame is now parsed in a little more forgiving manner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4437 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da3beaa601
commit
e701808b2e
1 changed files with 4 additions and 2 deletions
|
|
@ -216,7 +216,8 @@ static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
|
|||
entry->genre_string = 0;
|
||||
return tag - entry->id3v2buf;
|
||||
} else {
|
||||
entry->genre = 0xFF;
|
||||
entry->genre_string = tag;
|
||||
entry->genre = 0xff;
|
||||
return bufferpos;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -226,7 +227,8 @@ static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
|
|||
return tag - entry->id3v2buf;
|
||||
}
|
||||
else {
|
||||
entry->genre = 0xFF;
|
||||
entry->genre_string = tag;
|
||||
entry->genre = 0xff;
|
||||
return bufferpos;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue