openbsd-ports/devel/sdl-sound/patches/patch-decoders_modplug_c
ajacoutot 612f280208 Fixes from upstream:
- Clean up symbol visibility.
- Don't force quit in signal handler, since we might double-free things.
- Disable reverb flag in modplug decoder. It's producing trash in some cases.
- Don't underflow array when parsing timidity config file.
- Fix read_config_file() not closing the file when there is an error.
- Honor the return code from recursive read_config_file() call.
- Reset some state on shutdown to prevent crash when reinitializing.

from Brad
2012-06-01 15:57:51 +00:00

15 lines
534 B
Plaintext

$OpenBSD: patch-decoders_modplug_c,v 1.1 2012/06/01 15:57:51 ajacoutot Exp $
Disable reverb flag in modplug decoder. It's producing trash in some cases.
--- decoders/modplug.c.orig Fri Jun 1 02:57:54 2012
+++ decoders/modplug.c Fri Jun 1 02:58:05 2012
@@ -128,7 +128,6 @@ static int MODPLUG_init(void)
#ifndef _WIN32_WCE
settings.mFlags |= MODPLUG_ENABLE_NOISE_REDUCTION |
- MODPLUG_ENABLE_REVERB |
MODPLUG_ENABLE_MEGABASS |
MODPLUG_ENABLE_SURROUND;