Re: [FFmpeg-devel] [PATCH] lavc/audiotoolbox: avoid relying on consumer-provided params when possible

2016-04-07 Thread Carl Eugen Hoyos
Rodger Combs gmail.com> writes: > -// DecoderConfig descriptor > -put_descr(&pb, 0x04, 13 + 5+avctx->extradata_size); > +// DecoderConfig descriptor > +put_descr(&pb, 0x04, 13 + 5+avctx->extradata_size); Please separate the cosmetic from the actual changes

[FFmpeg-devel] [PATCH] lavc/audiotoolbox: avoid relying on consumer-provided params when possible

2016-04-06 Thread Rodger Combs
We now attempt to parse extradata before init when present. In MPEG audio and (E)AC3, we wait for the first packet and parse its header (unless the consumer provided a channel count and sample rate at init). --- configure| 2 + libavcodec/Makefile | 6 +- libavcode