changeset 766:fdbb6738a75d trunk

[svn] - should be safe to revert now
author nenolod
date Wed, 01 Mar 2006 09:40:21 -0800
parents bd0714f24e15
children 3ade061e7364
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Wed Mar 01 09:39:18 2006 -0800
+++ b/Plugins/Input/mpg123/mpg123.c	Wed Mar 01 09:40:21 2006 -0800
@@ -299,12 +299,10 @@
 
     if (!strncasecmp(filename, "http://", 7) && (ext && strncasecmp(ext, ".ogg", 4)))
 	return TRUE;
-    else if (ext && (!strncasecmp(ext, ".mp3", 4) ||
-	!strncasecmp(ext, ".mp2", 4) ||
-	!strncasecmp(ext, ".mpg", 4)))
-        return TRUE;
+    else if (ext && !strncasecmp(ext, ".mp3", 4))
+        return mpg123_detect_by_content(filename);
 
-    return FALSE;
+    return TRUE;
 }
 
 static void