opnsense-ports/sysutils/cdrdao/files/patch-trackdb__FormatOgg.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
352 B
C++

--- trackdb/FormatOgg.cc.orig 2010-06-06 16:45:05.000000000 +0200
+++ trackdb/FormatOgg.cc 2010-06-06 16:48:23.000000000 +0200
@@ -84,6 +84,7 @@ FormatSupport::Status FormatOgg::oggInit
return FS_WRONG_FORMAT;
}
+ memset(&outFormat_, 0, sizeof(outFormat_));
outFormat_.bits = 16;
outFormat_.rate = 44100;
outFormat_.channels = 2;