1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

frame: clarify buf documentation

Mention explicitly that the array must be filled contiguously.
This commit is contained in:
Anton Khirnov 2014-11-14 11:41:15 +01:00
parent e352520e3e
commit 0232ba62a2

View File

@ -388,7 +388,9 @@ typedef struct AVFrame {
/** /**
* AVBuffer references backing the data for this frame. If all elements of * 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 * 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 * always contains all the references. For planar audio with more than