diff src/mpg123/mpg123.c @ 581:c5022551db57 trunk

[svn] - mpg123: do not try to pick a tuple from http:// sources
author giacomo
date Tue, 30 Jan 2007 11:05:31 -0800
parents 997496d252d4
children
line wrap: on
line diff
--- a/src/mpg123/mpg123.c	Tue Jan 30 08:36:50 2007 -0800
+++ b/src/mpg123/mpg123.c	Tue Jan 30 11:05:31 2007 -0800
@@ -529,6 +529,9 @@
     TagLib_File *taglib_file;
     TagLib_Tag *taglib_tag;
 
+    if (str_has_prefix_nocase(filename, "http://"))
+        return NULL;
+
 #ifdef USE_CHARDET
     taglib_set_strings_unicode(FALSE);
 #endif