aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorChristopher Brannon <chris@the-brannons.com>2011-02-13 01:37:28 +0000
committerMax Kellermann <max@duempel.org>2011-02-15 12:16:25 +0100
commit2a1f4539f6115f6d01f33b60adf0118122c7018a (patch)
tree65c7349a200b780f6491c24d813398cffc4ec43b /NEWS
parent03018611f8b9d7ed6d55ee45ccf2b69958c05caf (diff)
downloadmpd-2a1f4539f6115f6d01f33b60adf0118122c7018a.tar.gz
mpd-2a1f4539f6115f6d01f33b60adf0118122c7018a.tar.xz
mpd-2a1f4539f6115f6d01f33b60adf0118122c7018a.zip
Insure proper initialization of stack-allocated struct.
Version 1.0.0 of the libao library added a new field to the ao_sample_format struct. It is a char * named matrix. When an ao_sample_format is allocated on the stack, this field contains garbage. The proper course is to insure that is initialized to NULL. NULL indicates that we do not want any mapping. The struct is now initialized using a static initializer, and this technique is compatible with all known versions of libao.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 313a5c621..76571d0f0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.15.16 (2010/??/??)
+* output:
+ - ao: initialize the ao_sample_format struct
* encoders:
- lame: explicitly configure the output sample rate
* update: log all file permission problems