Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
1510:c9ac8b6679c9 | 1511:543e37d18997 |
---|---|
187 if (!memcmp(magic, MOD_MAGIC_TAKETRACKER16, 4)) { | 187 if (!memcmp(magic, MOD_MAGIC_TAKETRACKER16, 4)) { |
188 vfs_fclose(file); | 188 vfs_fclose(file); |
189 return 1; | 189 return 1; |
190 } | 190 } |
191 if (!memcmp(magic, MOD_MAGIC_TAKETRACKER32, 4)) { | 191 if (!memcmp(magic, MOD_MAGIC_TAKETRACKER32, 4)) { |
192 vfs_fclose(file); | |
193 return 1; | |
194 } | |
195 if (!memcmp(magic, MOD_MAGIC_15INSTRUMENT, 4)) { | |
196 vfs_fclose(file); | 192 vfs_fclose(file); |
197 return 1; | 193 return 1; |
198 } | 194 } |
199 } /* end of if(mModProps.mGrabAmigaMOD) */ | 195 } /* end of if(mModProps.mGrabAmigaMOD) */ |
200 | 196 |