Added libmikmod-3.1.12 build template.
--HG-- extra : convert_revision : c0cdc89d245897ebfcc77d7a56f76bc1214b19e6
This commit is contained in:
parent
61cb3dadb2
commit
33965b51bc
9 changed files with 270 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
Date: 15 Apr 2002 11:01:19 +0200
|
||||
From: Guillaume Cottenceau <gc@mandrakesoft.com>
|
||||
|
||||
Unfortunately, I should have double checked that the following
|
||||
fix (authored by Dave Goehrig <dave@cthulhu-burger.org>, not me),
|
||||
was really in the CVS... it's not, as of stable 1.2.3 at least.
|
||||
Please include it, it fixes a segfault on exiting a program which
|
||||
disabled MOD music during its execution.
|
||||
|
||||
--- playercode/virtch_common.c 2007-12-15 01:26:53.000000000 -0800
|
||||
+++ playercode/virtch_common.c 2009-10-05 00:37:12.000000000 -0700
|
||||
@@ -347,7 +347,7 @@
|
||||
|
||||
void VC1_SampleUnload(SWORD handle)
|
||||
{
|
||||
- if (handle<MAXSAMPLEHANDLES) {
|
||||
+ if (Samples && handle<MAXSAMPLEHANDLES) {
|
||||
if (Samples[handle])
|
||||
free(Samples[handle]);
|
||||
Samples[handle]=NULL;
|
Loading…
Add table
Add a link
Reference in a new issue