From f11d07c61f4d30c0f47a1a3685e116670bab29ca Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sun, 26 Oct 2003 12:53:21 +0000 Subject: [PATCH] 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 --- firmware/id3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/id3.c b/firmware/id3.c index 6b43fecc9a..f3d1285f0c 100644 --- a/firmware/id3.c +++ b/firmware/id3.c @@ -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. */