Files
pkgsrc-ng/audio/tremor-tools/patches/patch-ai
2013-09-26 17:14:40 +02:00

13 lines
450 B
Plaintext

$NetBSD: patch-ai,v 1.1 2010/05/19 18:25:19 drochner Exp $
--- ogg123/callbacks.c.orig 2010-05-19 16:19:11.000000000 +0000
+++ ogg123/callbacks.c
@@ -44,6 +44,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;