summaryrefslogtreecommitdiff
path: root/audio/umodplayer/files/patch-coresound.c
blob: 840eea292329ece9308b8c10c232a6a3e6b15484 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- coresound.c.orig	2010-06-06 14:23:02.000000000 +0200
+++ coresound.c	2010-06-06 14:23:40.000000000 +0200
@@ -132,6 +132,7 @@ CoreSound_InitAudio()
 	if (drv < 0)
 		return FALSE;
 
+	memset(&fmt, 0, sizeof(fmt));
 	fmt.rate = sets.samplerate;
 	fmt.bits = 16;
 	fmt.byte_format = AO_FMT_NATIVE;