• Max Kellermann's avatar
    decoder/faad: remove workaround for ancient libfaad2 ABI bug · f6b2899d
    Max Kellermann authored
    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!
    f6b2899d
Name
Last commit
Last update
..
AdPlugDecoderPlugin.cxx Loading commit data...
AdPlugDecoderPlugin.h Loading commit data...
AudiofileDecoderPlugin.cxx Loading commit data...
AudiofileDecoderPlugin.hxx Loading commit data...
DsdLib.cxx Loading commit data...
DsdLib.hxx Loading commit data...
DsdiffDecoderPlugin.cxx Loading commit data...
DsdiffDecoderPlugin.hxx Loading commit data...
DsfDecoderPlugin.cxx Loading commit data...
DsfDecoderPlugin.hxx Loading commit data...
FaadDecoderPlugin.cxx Loading commit data...
FaadDecoderPlugin.hxx Loading commit data...
FfmpegDecoderPlugin.cxx Loading commit data...
FfmpegDecoderPlugin.hxx Loading commit data...
FfmpegMetaData.cxx Loading commit data...
FfmpegMetaData.hxx Loading commit data...
FlacCommon.cxx Loading commit data...
FlacCommon.hxx Loading commit data...
FlacDecoderPlugin.cxx Loading commit data...
FlacDecoderPlugin.h Loading commit data...
FlacDomain.cxx Loading commit data...
FlacDomain.hxx Loading commit data...
FlacIOHandle.cxx Loading commit data...
FlacIOHandle.hxx Loading commit data...
FlacInput.cxx Loading commit data...
FlacInput.hxx Loading commit data...
FlacMetadata.cxx Loading commit data...
FlacMetadata.hxx Loading commit data...
FlacPcm.cxx Loading commit data...
FlacPcm.hxx Loading commit data...
FluidsynthDecoderPlugin.cxx Loading commit data...
FluidsynthDecoderPlugin.hxx Loading commit data...
GmeDecoderPlugin.cxx Loading commit data...
GmeDecoderPlugin.hxx Loading commit data...
MadDecoderPlugin.cxx Loading commit data...
MadDecoderPlugin.hxx Loading commit data...
MikmodDecoderPlugin.cxx Loading commit data...
MikmodDecoderPlugin.hxx Loading commit data...
ModplugDecoderPlugin.cxx Loading commit data...
ModplugDecoderPlugin.hxx Loading commit data...
MpcdecDecoderPlugin.cxx Loading commit data...
MpcdecDecoderPlugin.hxx Loading commit data...
Mpg123DecoderPlugin.cxx Loading commit data...
Mpg123DecoderPlugin.hxx Loading commit data...
OggCodec.cxx Loading commit data...
OggCodec.hxx Loading commit data...
OggFind.cxx Loading commit data...
OggFind.hxx Loading commit data...
OggSyncState.hxx Loading commit data...
OggUtil.cxx Loading commit data...
OggUtil.hxx Loading commit data...
OpusDecoderPlugin.cxx Loading commit data...
OpusDecoderPlugin.h Loading commit data...
OpusDomain.cxx Loading commit data...
OpusDomain.hxx Loading commit data...
OpusHead.cxx Loading commit data...
OpusHead.hxx Loading commit data...
OpusReader.hxx Loading commit data...
OpusTags.cxx Loading commit data...
OpusTags.hxx Loading commit data...
PcmDecoderPlugin.cxx Loading commit data...
PcmDecoderPlugin.hxx Loading commit data...
SidplayDecoderPlugin.cxx Loading commit data...
SidplayDecoderPlugin.hxx Loading commit data...
SndfileDecoderPlugin.cxx Loading commit data...
SndfileDecoderPlugin.hxx Loading commit data...
VorbisComments.cxx Loading commit data...
VorbisComments.hxx Loading commit data...
VorbisDecoderPlugin.cxx Loading commit data...
VorbisDecoderPlugin.h Loading commit data...
VorbisDomain.cxx Loading commit data...
VorbisDomain.hxx Loading commit data...
WavpackDecoderPlugin.cxx Loading commit data...
WavpackDecoderPlugin.hxx Loading commit data...
WildmidiDecoderPlugin.cxx Loading commit data...
WildmidiDecoderPlugin.hxx Loading commit data...
XiphTags.cxx Loading commit data...
XiphTags.hxx Loading commit data...