* Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).

* Switch to autoconf from genconfig.sh.
This commit is contained in:
Justin Maggard
2011-09-16 23:39:58 +00:00
parent 715af3519b
commit 773e1f6566
40 changed files with 1952 additions and 533 deletions

View File

@ -232,8 +232,7 @@ _get_mp3tags(char *file, struct song_metadata *psong)
if((utf8_text) && (strncasecmp((char*)utf8_text, "iTun", 4) != 0))
{
// read comment
if(utf8_text)
free(utf8_text);
free(utf8_text);
native_text = id3_field_getfullstring(&pid3frame->fields[3]);
if(native_text)
@ -241,16 +240,14 @@ _get_mp3tags(char *file, struct song_metadata *psong)
utf8_text = (unsigned char*)id3_ucs4_utf8duplicate(native_text);
if(utf8_text)
{
if (psong->comment)
free(psong->comment);
free(psong->comment);
psong->comment = (char*)utf8_text;
}
}
}
else
{
if(utf8_text)
free(utf8_text);
free(utf8_text);
}
}
}