summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-04-19 01:26:56 +0300
committerUoti Urpala <uau@mplayer2.org>2012-04-19 01:42:30 +0300
commitdeffd15a056f98bbe1bc34ce87dea0b4a530d61d (patch)
tree1fa363205a2ff7b147bbfd956ace50824642a48e /configure
parentb9fefc87c01bbf464fb74981313efa77e03735f6 (diff)
downloadmpv-deffd15a056f98bbe1bc34ce87dea0b4a530d61d.tar.bz2
mpv-deffd15a056f98bbe1bc34ce87dea0b4a530d61d.tar.xz
ad_ffmpeg: switch to avcodec_decode_audio4()
Switch libavcodec audio decoding from avcodec_decode_audio3() to avcodec_decode_audio4(). Instead of decoding directly to the output buffer, the data is now copied from the libavcodec output packet, adding an extra memory copy (optimizing this would require some interface changes). After libavcodec added avcodec_decode_audio4() earlier, it dropped support for splitting large audio packets into output chunks of size AVCODEC_MAX_AUDIO_FRAME_SIZE or less. This caused a regression with the previous API: audio files with huge packets could fail to decode, as libavcodec refused to write into the AVCODEC_MAX_AUDIO_FRAME_SIZE buffer provided by mplayer2. This occurrend mainly with some lossless audio formats. This commit restores support for those files; there are now no fixed limits on packet size.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions