summaryrefslogtreecommitdiff
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-09-27 16:49:05 +0200
committerAnton Khirnov <anton@khirnov.net>2013-09-28 07:35:50 +0200
commit38e15df1489d86c016515223ee693e7d0326c56a (patch)
treee1c82deabd3cb358d9c78f29383711d101a8db55 /libavutil/frame.h
parent5c349ad08a9fa930ddd9339f5de83eb818a0994c (diff)
avframe: note that linesize is not the usable data size
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r--libavutil/frame.h3
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];