From 92b1d85b4818d29202af6afcec1548e21ec6c956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 4 Jul 2003 08:23:39 +0000 Subject: [PATCH] Fix for incorrect genre default value, by Benjamin Metzler git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3810 a1c6a512-1295-4272-9138-f99709370657 --- firmware/id3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/id3.c b/firmware/id3.c index b6bdbac41d..71572217a1 100644 --- a/firmware/id3.c +++ b/firmware/id3.c @@ -347,7 +347,8 @@ static void setid3v2title(int fd, struct mp3entry *entry) return; } entry->id3version = version; - entry->tracknum = entry->year = entry->genre = 0; + entry->tracknum = entry->year = 0; + entry->genre = 0xff; entry->title = entry->artist = entry->album = NULL; /* Skip the extended header if it is present */