提交 00b8e650 编写于 作者: D Derek Buitenhuis

avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()

Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
上级 4cdb3c50
......@@ -1898,8 +1898,10 @@ typedef struct AVCodecContext {
/**
* This callback is called at the beginning of each frame to get data
* buffer(s) for it. There may be one contiguous buffer for all the data or
* there may be a buffer per each data plane or anything in between. Each
* buffer must be reference-counted using the AVBuffer API.
* there may be a buffer per each data plane or anything in between. What
* this means is, you may set however many entries in buf[] you feel necessary.
* Each buffer must be reference-counted using the AVBuffer API (see description
* of buf[] below).
*
* The following fields will be set in the frame before this callback is
* called:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册