summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-11 01:31:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-11 01:32:30 +0100
commit1cca12488617077732f8e47c67981e7c1957f296 (patch)
tree816a3ece3b96e1f59b661355dd3192fd0e6a53e3
parent26db9d3b77fb8187f0a7823e9fdc68473e9648d9 (diff)
parent0232ba62a28527579e34d44700b48017cc727e5f (diff)
downloadffmpeg-1cca12488617077732f8e47c67981e7c1957f296.tar.gz
Merge commit '0232ba62a28527579e34d44700b48017cc727e5f'
* commit '0232ba62a28527579e34d44700b48017cc727e5f': frame: clarify buf documentation Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 1e296521ff..6b9ac6ae2c 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -420,7 +420,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