1
0
Fork 0
forked from len0rd/rockbox

Correct genre parsing by making code match comment (and specification) :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3987 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2003-10-26 12:53:21 +00:00
parent b47fa98b91
commit f11d07c61f

View file

@ -154,7 +154,7 @@ static int parseyearnum( struct mp3entry* entry, char* tag, int bufferpos )
/* parse numeric genre from string, version 2.2 and 2.3 */
static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
{
if(entry->id3version >= ID3_VER_2_3) {
if(entry->id3version >= ID3_VER_2_4) {
/* In version 2.4 and up, there are no parentheses, and the genre frame
is a list of strings, either numbers or text. */