diff Plugins/Input/modplug/modplugbmp.cpp @ 1511:543e37d18997 trunk

[svn] Remove 15 instrument magic at offset 1080 because of false positive resulting in decoder segfault. Closes bug #543.
author chainsaw
date Sun, 06 Aug 2006 06:24:06 -0700
parents 5ef13028e42d
children
line wrap: on
line diff
--- a/Plugins/Input/modplug/modplugbmp.cpp	Sun Aug 06 05:45:48 2006 -0700
+++ b/Plugins/Input/modplug/modplugbmp.cpp	Sun Aug 06 06:24:06 2006 -0700
@@ -192,10 +192,6 @@
 		vfs_fclose(file);
 		return 1;
 	}
-	if (!memcmp(magic, MOD_MAGIC_15INSTRUMENT, 4)) {
-		vfs_fclose(file);
-		return 1;
-	}
 	} /* end of if(mModProps.mGrabAmigaMOD) */
 
 	/* We didn't find the magic bytes, fall back to extension check */