changeset 685:147e844e16cb trunk

[svn] - Ok, really revert this.
author nenolod
date Sat, 25 Feb 2006 01:30:30 -0800
parents d991052592f6
children a1806a3cf3d2
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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));