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..1134a8b59a9f
--- /dev/null
+++ b/sysutils/cdrdao/files/patch-trackdb__FormatMp3.cc
@@ -0,0 +1,10 @@
+--- trackdb/FormatMp3.cc.orig 2010-06-06 16:45:00.000000000 +0200
++++ trackdb/FormatMp3.cc 2010-06-06 16:45:36.000000000 +0200
+@@ -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;