# HG changeset patch # User yaz # Date 1171436097 28800 # Node ID ede814584df9ab164b83d0a1e7d49cba3e71b5bc # Parent e0d131145768ba8b60bc131b9ec3aa96289ab573 [svn] - screening by extension had not worked. diff -r e0d131145768 -r ede814584df9 ChangeLog --- a/ChangeLog Tue Feb 13 22:10:05 2007 -0800 +++ b/ChangeLog Tue Feb 13 22:54:57 2007 -0800 @@ -1,3 +1,14 @@ +2007-02-14 06:10:05 +0000 Yoshiki Yazawa + revision [1376] + - revise input_id3_get_string(). + - make audmad_get_file_info() use mad_parse_genre() to obtain genre description. + + trunk/src/madplug/Makefile | 2 +- + trunk/src/madplug/fileinfo.c | 10 +++++++--- + trunk/src/madplug/input.c | 22 ++++++++++------------ + 3 files changed, 18 insertions(+), 16 deletions(-) + + 2007-02-14 05:50:01 +0000 Yoshiki Yazawa revision [1374] temporary fix for SIGSEGV in g_utf8_validate() when xmlURIEscape returns NULL. diff -r e0d131145768 -r ede814584df9 src/madplug/plugin.c --- a/src/madplug/plugin.c Tue Feb 13 22:10:05 2007 -0800 +++ b/src/madplug/plugin.c Tue Feb 13 22:54:57 2007 -0800 @@ -205,7 +205,8 @@ #if 1 // XXX: temporary fix - if (!strncasecmp("http://", filename, 7) || !strncasecmp("https://", filename, 8)) { + if (!strncasecmp("http://", filename, 7) || !strncasecmp("https://", filename, 8)) + { g_message("audmad_is_our_fd: remote"); info.remote = TRUE; } @@ -213,8 +214,9 @@ /* I've seen some flac files beginning with id3 frames.. so let's exclude known non-mp3 filename extensions */ - if (!strcasecmp(".flac", ext) || !strcasecmp(".mpc", ext) || - !strcasecmp(".tta", ext) || !strcasecmp(".ogg", ext)) + if (!strcasecmp("flac", ext) || !strcasecmp("mpc", ext) || + !strcasecmp("tta", ext) || !strcasecmp("ogg", ext) || + !strcasecmp("wma", ext) ) return FALSE; if (fin == NULL)