summaryrefslogtreecommitdiff
path: root/audio/xmms2/files/patch-src_plugins_ao_ao.c
blob: 972ef05bbfe410ab84b3f8ee9ca838d0d3819822 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- src/plugins/ao/ao.c.orig	2011-10-20 19:26:08 UTC
+++ src/plugins/ao/ao.c
@@ -162,6 +162,7 @@ xmms_ao_new (xmms_output_t *output)
 
 		/* let's just use some common format to check if the device
 		 * name is valid */
+		memset(&format, 0, sizeof(format));
 		format.bits = 16;
 		format.rate = 44100;
 		format.channels = 2;