pkgsrc/sysutils/cdrdao/patches/patch-av

12 lines
413 B
Text

$NetBSD: patch-av,v 1.1 2010/05/19 18:22:14 drochner Exp $
--- trackdb/FormatMp3.cc.orig 2010-05-19 14:58:05.000000000 +0000
+++ 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;