2013-09-26 17:14:40 +02:00

13 lines
444 B
Plaintext

$NetBSD: patch-ae,v 1.4 2010/11/09 13:13:03 adam Exp $
--- ogg123/callbacks.c.orig 2010-01-27 04:14: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;