1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Another try for fixing/improving decode_video documentation.

Originally committed as revision 23057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2010-05-08 16:24:33 +00:00
parent d760a316e9
commit 7f20cb2df0

View File

@ -3474,8 +3474,8 @@ attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame *pi
* *
* @param avctx the codec context * @param avctx the codec context
* @param[out] picture The AVFrame in which the decoded video frame will be stored. * @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 * Use avcodec_alloc_frame to get an AVFrame, the codec will
* get_buffer to get memory for the actual image data. * allocate memory for the actual bitmap.
* @param[in] avpkt The input AVpacket containing the input buffer. * @param[in] avpkt The input AVpacket containing the input buffer.
* You can create such packet with av_init_packet() and by then setting * 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 * data and size, some decoders might in addition need other fields like