[FFmpeg-devel] [PATCH] aac: move sample_fmt selection before decoder configuration.
h.leppkes at gmail.com
Thu Jun 21 09:53:08 CEST 2012
attached patch fixes an issue with the AAC decoder and request_sample_fmt
== AV_SAMPLE_FMT_FLT in certain situations.
The block handling request_sample_fmt has to be executed before the decoder
configuration, because the sbr mdct initialization requires the information
which sample format is selected to properly configure the scale factors.
Without this fix, this can result in just noise when playing a 5.1 AAC file
with request_sample_fmt = AV_SAMPLE_FMT_FLT.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1626 bytes
Desc: not available
More information about the ffmpeg-devel