1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-12 14:59:13 -04:00
ports/audio/mpg321/files/patch-ao.c

13 lines
348 B
C

$FreeBSD$
--- ao.c.orig
+++ ao.c
@@ -229,6 +229,7 @@
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);