aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc')
-rw-r--r--sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc b/sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc
new file mode 100644
index 000000000000..f4f3e867fc12
--- /dev/null
+++ b/sysutils/cdrdao/files/patch-trackdb_FormatMp3.cc
@@ -0,0 +1,10 @@
+--- trackdb/FormatMp3.cc.orig 2018-05-15 13:30:52 UTC
++++ trackdb/FormatMp3.cc
+@@ -111,6 +111,7 @@ FormatSupport::Status FormatMp3::madInit
+
+ // Initialize libao for WAV output;
+ ao_sample_format out_format;
++ memset(&out_format, 0, sizeof(out_format));
+ out_format.bits = 16;
+ out_format.rate = 44100;
+ out_format.channels = 2;