mpd/m4
Max Kellermann bc5a53574c decoder/faad: remove workaround for ancient libfaad2 ABI bug
Many years ago, FAAD had a serious ABI bug: the NeAACDecInit()
prototype in its header declared the "samplerate" parameter to be
"unsigned long *", but internally, the function assumed it was
"uint32_t *" instead.  On 32 bit machines, that was no difference, but
on 64 bit, this left one portion of the return value uninitialized;
and worse, on big-endian, the wrong word was filled.  This bug had to
be worked around in MPD (commit 9c4e97a6).

A few months later, the bug was fixed in the FAAD CVS in commit 1.117
on file libfaad/decoder.c; the commit message was:

 "Use public headers internally to prevent duplicate declarations"

The commit message was too brief at best; the problem was not
duplicate declarations, but a prototype mismatch.  No mention of the
bug fix in the ChangeLog.

The MPD project never learned about this bug fix, and so MPD would
always pass a "uin32_t *" dressed up as a "unsigned long *".  Nearly 6
years later, it's about time to fix this second ABI problem.  Let's
kill the workaround!
2014-10-25 20:42:50 +02:00
..
ax_append_compile_flags.m4 m4: update to autoconf-archive 20140228 2014-06-11 08:08:33 +02:00
ax_append_flag.m4 configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scripts 2012-07-30 11:10:04 +02:00
ax_append_link_flags.m4 m4: update to autoconf-archive 20140228 2014-06-11 08:08:33 +02:00
ax_boost_base.m4 configure.ac: check for Boost 2014-06-11 09:27:17 +02:00
ax_check_compile_flag.m4 m4: update to autoconf-archive 20140228 2014-06-11 08:08:33 +02:00
ax_check_link_flag.m4 m4: update to autoconf-archive 20140228 2014-06-11 08:08:33 +02:00
ax_cxx_compile_stdcxx_0x.m4 configure.ac: require C++11 compiler 2012-08-01 09:59:12 +02:00
ax_pthread.m4 m4: add missing file ax_pthread.m4 from autoconf-archive 2014-03-01 06:24:55 +01:00
ax_require_defined.m4 m4: update to autoconf-archive 20140228 2014-06-11 08:08:33 +02:00
faad.m4 decoder/faad: remove workaround for ancient libfaad2 ABI bug 2014-10-25 20:42:50 +02:00
libwrap.m4 configure.ac: new libwrap autoconf test 2010-01-20 21:42:43 +01:00
mpd_auto.m4 configure.ac: add function MPD_AUTO_LIB and use it 2013-10-17 00:09:08 +02:00
mpd_depends.m4 configure.ac: improve database dependency checks 2014-10-24 23:43:21 +02:00
mpd_func.m4 Add infrastructure for using multiple event loops 2013-11-27 17:28:36 +06:00
pkg.m4 m4: update to pkg-config 0.28 2014-06-11 09:27:17 +02:00
pretty_print.m4 configure.ac: eliminate bashism "echo -n" 2011-01-07 17:31:30 +01:00
ucred.m4 m4/ucred.m4: don't define _GNU_SOURCE 2014-03-15 18:31:54 +01:00