[FFmpeg-devel] [PATCH 2/2] doc/examples: add audio decoding/filtering example.

Andrey Utkin andrey.krieger.utkin at gmail.com
Wed Feb 22 10:58:53 CET 2012

2012/2/21 Clément Bœsch <ubitux at gmail.com>:
> On Tue, Feb 21, 2012 at 05:59:24PM +0200, Andrey Utkin wrote:
>> As i see, abuffersink_params in the asink_init is not being referenced
>> or so. Its contents are just read and copied to internal context.
>> I think we should use automatic allocation - for sake of simplicity,
>> to avoid API users think they must also allocate AVABufferSinkParams
>> on a heap (using special function) and pass the pointer.
> What do you propose to achieve the "automatic allocation"?

Allocation on stack.

Andrey Utkin

More information about the ffmpeg-devel mailing list