summaryrefslogtreecommitdiff
path: root/audio/umodplayer/files/patch-coresound.c
blob: 27bfee03648ae29ca8ea97883f14e62fa8362178 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- coresound.c.orig	2006-09-16 13:50:12 UTC
+++ coresound.c
@@ -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;