diff Plugins/Input/mpg123/mpg123.c @ 685:147e844e16cb trunk

[svn] - Ok, really revert this.
author nenolod
date Sat, 25 Feb 2006 01:30:30 -0800
parents d991052592f6
children 363f8644bce7
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Sat Feb 25 01:25:21 2006 -0800
+++ b/Plugins/Input/mpg123/mpg123.c	Sat Feb 25 01:30:30 2006 -0800
@@ -293,7 +293,7 @@
 {
     gchar *ext = strrchr(filename, '.');
 
-    if (!strncasecmp(filename, "http://", 7) && (!ext || !strncasecmp(ext, ".mp3", 4)))
+    if (!strncasecmp(filename, "http://", 7) && (strncasecmp(ext, ".ogg", 4)))
 	return TRUE;
     else if (strncasecmp(ext, ".mp3", 4))	/* If extension ends in .mp3, let it be --nenolod */
         return (mpg123_detect_by_content(filename));