[FFmpeg-devel] ADTS parser in aac.c does not set samplerate

Alex Converse alex.converse
Tue Dec 8 00:56:20 CET 2009

2009/12/7 M?ns Rullg?rd <mans at mansr.com>:
> Alex Converse <alex.converse at gmail.com> writes:
>> On Mon, Dec 7, 2009 at 5:41 PM, Andreas ?man <andreas at lonelycoder.com> wrote:
>>> Hi,
>>> When decoding ADTS framed data directly with the AAC decoder
>>> avctx->sample_rate is not set. The attached patch fixes
>>> that.
>> Doesn't the parser set that?
> Suppose you're not using a parser.

In the ObjectTypeIndication 0x67 case the sample rate comes from the
container. Is there another case I'm missing?

More information about the ffmpeg-devel mailing list