[FFmpeg-cvslog] r23009 - trunk/libavcodec/avcodec.h
reimar
subversion
Sun May 2 18:07:30 CEST 2010
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.
* @param[in] avpkt The input AVpacket containing the input buffer.
* You can create such packet with av_init_packet() and by then setting
* data and size, some decoders might in addition need other fields like
More information about the ffmpeg-cvslog
mailing list