Commit 1157d838 authored by reimar's avatar reimar

Clarify how allocation works for the picture argument for

avcodec_decode_video3.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23009 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff7705fd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment