summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-trackdb_FormatOgg.cc
blob: c1d8e548222588a2172a51be6c80c2ae63338ef8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- 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;