From 867511d2d0a5d063e37b07115b8b98f5930d415b Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 27 Feb 2017 12:32:06 +0100 Subject: MT32: Update Munt to 2.0.3 This update uses upstream commit 777c51cdb4dbb4e02a53c23edea9086f0b600e26. The new SampleRateConverter is added, but not built as we don't use it. Also, building it without source changes will need additional include directories. This update of Munt reduces the stack size, and thus fixes bug #9630. --- audio/softsynth/mt32/File.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/softsynth/mt32/File.cpp') diff --git a/audio/softsynth/mt32/File.cpp b/audio/softsynth/mt32/File.cpp index 333230b61c..07164823d3 100755 --- a/audio/softsynth/mt32/File.cpp +++ b/audio/softsynth/mt32/File.cpp @@ -26,11 +26,15 @@ namespace MT32Emu { AbstractFile::AbstractFile() : sha1DigestCalculated(false) { sha1Digest[0] = 0; + + reserved = NULL; } AbstractFile::AbstractFile(const SHA1Digest &useSHA1Digest) : sha1DigestCalculated(true) { memcpy(sha1Digest, useSHA1Digest, sizeof(SHA1Digest) - 1); sha1Digest[sizeof(SHA1Digest) - 1] = 0; // Ensure terminator char. + + reserved = NULL; } const File::SHA1Digest &AbstractFile::getSHA1() { -- cgit v1.2.3