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:
parent
745eed6c47
commit
92b1d85b48
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue