diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-09-27 16:49:05 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-09-28 07:35:50 +0200 |
commit | 38e15df1489d86c016515223ee693e7d0326c56a (patch) | |
tree | e1c82deabd3cb358d9c78f29383711d101a8db55 | |
parent | 5c349ad08a9fa930ddd9339f5de83eb818a0994c (diff) | |
download | ffmpeg-38e15df1489d86c016515223ee693e7d0326c56a.tar.gz |
avframe: note that linesize is not the usable data size
-rw-r--r-- | libavutil/frame.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index d71948db09..b0676e7f58 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -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]; |