Fix for incorrect genre default value, by Benjamin Metzler

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3810 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-07-04 08:23:39 +00:00
parent 745eed6c47
commit 92b1d85b48

View file

@ -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 */