diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-11-14 11:41:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-08 21:28:31 +0100 |
commit | 0232ba62a28527579e34d44700b48017cc727e5f (patch) | |
tree | 84a9628ee3cc550c977e92501a40af72fd094954 | |
parent | e352520e3ed7f08f19e63cd60e95da6bb6f037c1 (diff) | |
download | ffmpeg-0232ba62a28527579e34d44700b48017cc727e5f.tar.gz |
frame: clarify buf documentation
Mention explicitly that the array must be filled contiguously.
-rw-r--r-- | libavutil/frame.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 28170e7648..addcb25a50 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -388,7 +388,9 @@ typedef struct AVFrame { /** * AVBuffer references backing the data for this frame. If all elements of - * this array are NULL, then this frame is not reference counted. + * this array are NULL, then this frame is not reference counted. This array + * must be filled contiguously -- if buf[i] is non-NULL then buf[j] must + * also be non-NULL for all j < i. * * There may be at most one AVBuffer per data plane, so for video this array * always contains all the references. For planar audio with more than |