summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2003-10-26 12:53:21 +0000
committerMagnus Holmgren <magnushol@gmail.com>2003-10-26 12:53:21 +0000
commitf11d07c61f4d30c0f47a1a3685e116670bab29ca (patch)
tree7c9087b45d7768b3ad3068652a43eaf2335d0452
parentb47fa98b919743be8d38665d19cf138eea198ec7 (diff)
downloadrockbox-f11d07c61f4d30c0f47a1a3685e116670bab29ca.tar.gz
rockbox-f11d07c61f4d30c0f47a1a3685e116670bab29ca.zip
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
-rw-r--r--firmware/id3.c2
1 files changed, 1 insertions, 1 deletions
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 )
154/* parse numeric genre from string, version 2.2 and 2.3 */ 154/* parse numeric genre from string, version 2.2 and 2.3 */
155static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos ) 155static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
156{ 156{
157 if(entry->id3version >= ID3_VER_2_3) { 157 if(entry->id3version >= ID3_VER_2_4) {
158 /* In version 2.4 and up, there are no parentheses, and the genre frame 158 /* In version 2.4 and up, there are no parentheses, and the genre frame
159 is a list of strings, either numbers or text. */ 159 is a list of strings, either numbers or text. */
160 160