[FFmpeg-devel] About avpicture_alloc (deprecate?)

Michael Niedermayer michaelni
Mon May 3 03:58:38 CEST 2010

On Sun, May 02, 2010 at 05:57:48PM +0200, Reimar D?ffinger wrote:
> On Sun, May 02, 2010 at 11:38:12AM -0400, Ronald S. Bultje wrote:
> > Hi,
> > 
> > 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.

the names of these functions have been a bit unfortunately choosen
the words bitmap and struct in the names might help


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100503/a5b92b6b/attachment.pgp>

More information about the ffmpeg-devel mailing list