summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'audio/vorbis-tools/patches/patch-ae')
-rw-r--r--audio/vorbis-tools/patches/patch-ae12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/vorbis-tools/patches/patch-ae b/audio/vorbis-tools/patches/patch-ae
new file mode 100644
index 00000000000..d204062bb18
--- /dev/null
+++ b/audio/vorbis-tools/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.3 2010/05/19 18:25:20 drochner Exp $
+
+--- ogg123/callbacks.c.orig 2010-05-19 16:23:11.000000000 +0000
++++ ogg123/callbacks.c
+@@ -48,6 +48,7 @@ void audio_reopen_action (buf_t *buf, vo
+
+ close_audio_devices (reopen_arg->devices);
+
++ memset(&format, 0, sizeof(format));
+ /* Record audio device settings and open the devices */
+ format.rate = reopen_arg->format->rate;
+ format.channels = reopen_arg->format->channels;