mpd/m4
Max Kellermann f6b2899dd2 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-11-02 11:50:56 +01:00
..
ax_append_compile_flags.m4 configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scripts 2012-07-30 11:10:04 +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 configure.ac: enable --gc-sections 2012-08-02 19:09:29 +02:00
ax_check_compile_flag.m4 configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scripts 2012-07-30 11:10:04 +02:00
ax_check_link_flag.m4 configure.ac: copy missing file m4/ax_check_link_flag.m4 2012-08-03 14:40:04 +02:00
ax_cxx_compile_stdcxx_0x.m4 configure.ac: require C++11 compiler 2012-08-01 09:59:12 +02:00
faad.m4 decoder/faad: remove workaround for ancient libfaad2 ABI bug 2014-11-02 11:50:56 +01: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_func.m4 configure.ac: pass option name to MPD_OPTIONAL_FUNC() 2013-08-07 19:23:00 +02:00
pkg.m4 m4: add pkg.m4 so users can run autogen.sh without pkg-config 2006-09-14 01:52:14 +00:00
pretty_print.m4 configure.ac: eliminate bashism "echo -n" 2011-01-07 17:31:30 +01:00
ucred.m4 configure.ac: use $LIBS instead of $MPD_LIBS 2011-10-09 18:29:25 +02:00