freebsd-ports/audio/mpg321/files/patch-ao.c
Mathieu Arnold 8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00

10 lines
336 B
C

--- 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);