[FFmpeg-devel] [PATCH] aac: move sample_fmt selection before decoder configuration.
michaelni at gmx.at
Thu Jun 21 13:22:48 CEST 2012
On Thu, Jun 21, 2012 at 09:53:08AM +0200, Hendrik Leppkes wrote:
> 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.
> Feedback welcome.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel