[FFmpeg-devel] About avpicture_alloc (deprecate?)

Ronald S. Bultje rsbultje
Sun May 2 23:49:27 CEST 2010


Hi,

On Sun, May 2, 2010 at 11:57 AM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Sun, May 02, 2010 at 11:38:12AM -0400, Ronald S. Bultje wrote:
>> On May 2, 2010, at 11:23 AM, Reimar D?ffinger
>> <Reimar.Doeffinger at gmx.de> wrote:
>> >I wanted to hear about your ideas on avpicture_alloc, why is it
>> >part of the
>> >public API (is it?)? Should it be? Or should we deprecate it?
>> >Internally, it seems only libschroedinger and qtrleenc.c use it,
>> >which makes
>> >it look quite likely that even those uses are outdated/suboptimal
>> >or even wrong.
>>
>> It's for applications, so we can grow the struct w/o breaking
>> API/ABI. There's no reason why we'd use it inside lavc.
>
> I think you are confusing it with avcodec_alloc_frame.

Aha, yes. I suppose this is a leftover from imgconvert.c API, as you
said, so you can probably deprecate it (but I'm not maintainer).

Ronald



More information about the ffmpeg-devel mailing list