libmodplug: fix crash on x86_64

- Remove useless and crashy code.
This commit is contained in:
Adrien Destugues
2016-02-15 20:09:37 +01:00
parent 847f9cd42b
commit 9b670c2cc9

View File

@@ -1,14 +1,14 @@
From 48531f8341980cd59fc5e5e4bbe67e85c645efb4 Mon Sep 17 00:00:00 2001
From a55dea832c9b70fc0d36b6a18791e3e37acb240d Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Tue, 2 Sep 2014 21:44:34 +0200
Subject: strings.h fix.
diff --git a/src/libmodplug/stdafx.h b/src/libmodplug/stdafx.h
index 0330170..eb250dd 100644
index 3eacf1d..871fb6d 100644
--- a/src/libmodplug/stdafx.h
+++ b/src/libmodplug/stdafx.h
@@ -53,6 +53,7 @@ inline void ProcessPlugins(int n) {}
@@ -57,6 +57,7 @@ inline void ProcessPlugins(int n) {}
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -17,5 +17,28 @@ index 0330170..eb250dd 100644
#include <malloc.h>
#endif
--
1.8.3.4
2.2.2
From b22ad9bd297a8279c979f0e0c9b931e353181348 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Mon, 15 Feb 2016 20:01:15 +0100
Subject: Remove unused static variable with crashy constructor
diff --git a/src/fastmix.cpp b/src/fastmix.cpp
index a629bc6..8afb4de 100644
--- a/src/fastmix.cpp
+++ b/src/fastmix.cpp
@@ -282,8 +282,6 @@ CzWINDOWEDFIR::~CzWINDOWEDFIR()
{ // nothing todo
}
-CzWINDOWEDFIR sfir;
-
// ----------------------------------------------------------------------------
// MIXING MACROS
// ----------------------------------------------------------------------------
--
2.2.2