aboutsummaryrefslogtreecommitdiffstats
path: root/m4/faad.m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder/faad: remove workaround for ancient libfaad2 ABI bugMax Kellermann2014-10-251-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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!
* decoder/faad: use the newer NeAAC* APIMax Kellermann2013-01-291-53/+12
| | | | Drop support for the old faacDec* API.
* faad.m4: clear FAAD_LIBS if faad got auto-disabledMax Kellermann2013-01-291-0/+3
| | | | | Fixes build errors on systems without libfaad, when --disable-aac was not specified.
* faad.m4: don't add -I. to temporary CFLAGSMax Kellermann2013-01-291-1/+1
|
* faad.m4: remove faad --with-* optionsMax Kellermann2013-01-291-26/+2
| | | | | | Some of these are not implemented properly and never worked. And the others are not useful; you can easily set environment variables instead.
* decoder/mp4ff: delete obsolete pluginMax Kellermann2013-01-281-34/+0
| | | | The underlying library has been obsolete for many years.
* configure.ac: use $LIBS instead of $MPD_LIBSMax Kellermann2011-10-091-4/+4
|
* configure.ac: substitute FAAD_CFLAGS, FAAD_LIBSMax Kellermann2011-10-091-2/+8
| | | | Don't use MPC_CFLAGS, MPD_LIBS.
* configure.ac: use AC_LANG_SOURCEMax Kellermann2011-01-071-6/+6
| | | | Fixes autotools warnings.
* configure.ac: use $FAAD_LIBS in libmp4ff checkMax Kellermann2009-05-261-1/+1
| | | | | Append $FAAD_LIBS to $LIBS when detecting libmp4ff. $FAAD_LIBS may contain an important -L flag.
* configure: Fix where mp4 was not explicitly disabled.Avuton Olrich2009-04-291-1/+3
|
* configure: Move the faad stuff to m4/faad.m4Avuton Olrich2009-03-061-0/+190