diff options
Diffstat (limited to 'sysutils/cdrdao/files')
-rw-r--r-- | sysutils/cdrdao/files/patch-trackdb::FormatMp3.cc | 10 | ||||
-rw-r--r-- | sysutils/cdrdao/files/patch-trackdb::FormatOgg.cc | 10 | ||||
-rw-r--r-- | sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc | 10 |
3 files changed, 30 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; diff --git a/sysutils/cdrdao/files/patch-trackdb::FormatOgg.cc b/sysutils/cdrdao/files/patch-trackdb::FormatOgg.cc new file mode 100644 index 000000000000..6647a3309f0d --- /dev/null +++ b/sysutils/cdrdao/files/patch-trackdb::FormatOgg.cc @@ -0,0 +1,10 @@ +--- 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; diff --git a/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc b/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc new file mode 100644 index 000000000000..2e5bde7b6ebc --- /dev/null +++ b/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc @@ -0,0 +1,10 @@ +--- xdao/SoundIF-ao.cc.orig 2010-06-06 16:37:14.000000000 +0200 ++++ xdao/SoundIF-ao.cc 2010-06-06 16:42:17.000000000 +0200 +@@ -37,6 +37,7 @@ SoundIF::SoundIF() + + impl_ = new SoundIFImpl; + impl_->driverId = ao_default_driver_id(); ++ memset(&impl_->format, 0, sizeof(impl_->format)); + impl_->format.bits = 16; + impl_->format.rate = 44100; + impl_->format.channels = 2; |