opnsense-ports/sysutils/cdrdao/files/patch-trackdb_FormatOgg.cc
Franco Fichtner 532119e767 */*: sync with upstream
Taken from: HardenedBSD
2018-06-14 11:40:49 +02:00

10 lines
304 B
C++

--- trackdb/FormatOgg.cc.orig 2018-05-15 13:30:52 UTC
+++ trackdb/FormatOgg.cc
@@ -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;