diff src/mpg123/mpg123.c @ 99:98de08786b0a trunk

[svn] - specifically blacklist the musepack mp2/mp3 variant
author nenolod
date Mon, 23 Oct 2006 12:25:24 -0700
parents 3da1b8942b8b
children 1e2d575fd2e7
line wrap: on
line diff
--- a/src/mpg123/mpg123.c	Sat Oct 21 18:17:49 2006 -0700
+++ b/src/mpg123/mpg123.c	Mon Oct 23 12:25:24 2006 -0700
@@ -291,6 +291,13 @@
 	ret = TRUE;
 	goto done;
     }
+
+    if (!memcmp(tmp, "MP+", 3))
+    {
+	ret = FALSE;
+	goto done;
+    }
+
     head = convert_to_header(tmp);
     while (!mpgdec_head_check(head)) {
         /*