[FFmpeg-cvslog] r23009 - trunk/libavcodec/avcodec.h

Michael Niedermayer michaelni
Mon May 3 13:27:56 CEST 2010


On Sun, May 02, 2010 at 06:07:30PM +0200, reimar wrote:
> Author: reimar
> Date: Sun May  2 18:07:29 2010
> New Revision: 23009
> 
> Log:
> Clarify how allocation works for the picture argument for
> avcodec_decode_video3.
> 
> Modified:
>    trunk/libavcodec/avcodec.h
> 
> Modified: trunk/libavcodec/avcodec.h
> ==============================================================================
> --- trunk/libavcodec/avcodec.h	Sat May  1 23:05:28 2010	(r23008)
> +++ trunk/libavcodec/avcodec.h	Sun May  2 18:07:29 2010	(r23009)
> @@ -3464,6 +3464,8 @@ attribute_deprecated int avcodec_decode_
>   *
>   * @param avctx the codec context
>   * @param[out] picture The AVFrame in which the decoded video frame will be stored.
> + *             Use avcodec_alloc_frame to get an AVFrame, the codec will call

> + *             get_buffer to get memory for the actual image data.

not all codecs will

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- 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-cvslog/attachments/20100503/6467dfd5/attachment.pgp>



More information about the ffmpeg-cvslog mailing list