Browse Source

frame: clarify buf documentation

Mention explicitly that the array must be filled contiguously.
tags/n2.6
Anton Khirnov 11 years ago
parent
commit
0232ba62a2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavutil/frame.h

+ 3
- 1
libavutil/frame.h View File

@@ -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


Loading…
Cancel
Save