aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-05-02 16:07:29 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-05-02 16:07:29 +0000
commitbf9766995c5db44a5309a329fbbcb345e94c7d06 (patch)
tree9ba1c8295f9c2165aa64298db60a1a2fcb05aaf1 /libavcodec/avcodec.h
parentd296a658cfd4a2fa4a7f5cdd8fa12726b34ed366 (diff)
downloadffmpeg-bf9766995c5db44a5309a329fbbcb345e94c7d06.tar.gz
Clarify how allocation works for the picture argument for
avcodec_decode_video3. Originally committed as revision 23009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 23ea4bb549..b6437473e6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3464,6 +3464,8 @@ attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame *pi
*
* @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