forked from len0rd/rockbox
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
This commit is contained in:
parent
b47fa98b91
commit
f11d07c61f
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
/* parse numeric genre from string, version 2.2 and 2.3 */
|
||||||
static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
|
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
|
/* In version 2.4 and up, there are no parentheses, and the genre frame
|
||||||
is a list of strings, either numbers or text. */
|
is a list of strings, either numbers or text. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue