From: Derek Buitenhuis Date: Mon, 29 Apr 2013 02:15:34 +0000 (-0400) Subject: avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2() X-Git-Tag: n2.0~26^2~478 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/00b8e650e83b2a8848e07a56cf9a925b694403bc avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2() Signed-off-by: Derek Buitenhuis --- diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c9526c7..2085eb6 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: