Browse Source

avframe: note that linesize is not the usable data size

tags/n2.1
Anton Khirnov 11 years ago
parent
commit
38e15df148
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavutil/frame.h

+ 3
- 0
libavutil/frame.h View File

@@ -84,6 +84,9 @@ typedef struct AVFrame {
*
* For audio, only linesize[0] may be set. For planar audio, each channel
* plane must be the same size.
*
* @note The linesize may be larger than the size of usable data -- there
* may be extra padding present for performance reasons.
*/
int linesize[AV_NUM_DATA_POINTERS];



Loading…
Cancel
Save