diff src/mpg123/mpg123.c @ 432:1716423d29fe trunk

[svn] - remove blanket http:// grabbing -- probing for mp3 now works by VFS (even with shoutcast)
author nenolod
date Mon, 15 Jan 2007 08:33:07 -0800
parents a157306caf03
children a3bf53abebf5
line wrap: on
line diff
--- a/src/mpg123/mpg123.c	Mon Jan 15 02:48:34 2007 -0800
+++ b/src/mpg123/mpg123.c	Mon Jan 15 08:33:07 2007 -0800
@@ -346,11 +346,7 @@
     gchar *ext = strrchr(filename, '.');
     gboolean ret = FALSE;
 
-    if (CHECK_STREAM_URI(filename) &&
-        (ext && strncasecmp(ext, ".ogg", 4)) &&
-        (ext && strncasecmp(ext, ".flac", 5)))
-	ret = TRUE;
-    else if (mpgdec_detect_by_content(file))
+    if (mpgdec_detect_by_content(file))
         ret = TRUE;
 
     return ret;