$NetBSD: patch-ab,v 1.2 2011/10/18 11:13:56 ryoon Exp $ --- ao.c.orig 2011-10-01 09:50:12.000000000 +0000 +++ ao.c @@ -234,6 +234,7 @@ void open_ao_playdevice(struct mad_heade and restore it afterwards */ signal(SIGINT, SIG_DFL); + memset(&format, 0, sizeof(format)); format.bits = 16; format.rate = header->samplerate; format.channels = (options.opt & MPG321_FORCE_STEREO) ? 2 : MAD_NCHANNELS(header);