aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-04-28 22:15:34 -0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-04-30 13:33:43 -0400
commit00b8e650e83b2a8848e07a56cf9a925b694403bc (patch)
tree95499302aac2eb2b99822862230971127cdf1e8a /libavcodec
parent4cdb3c50b5383850bb900d79e57d23cf22b3214f (diff)
downloadffmpeg-00b8e650e83b2a8848e07a56cf9a925b694403bc.tar.gz
avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c9526c76b2..2085eb63a4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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: