On 03 Feb 2014, at 00:24, John Stebbins <[email protected]> wrote:

> This does make a functional difference.  I looked for the fallback code you 
> mention.  It looks like it is in
> ff_get_buffer()?  In aacdec, ff_get_buffer is called before 
> avctx->sample_rate has been set for the first time.  So the
> first frame returned does not has an AVFrame.sample_rate == 0.

Is the sample_rate information available before calling get_buffer? If so, it 
may be useful to set the context sample_rate earlier (in addition to this 
patch)?

Tim
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to