mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
14 lines
348 B
C
14 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);
|