From 38e15df1489d86c016515223ee693e7d0326c56a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 27 Sep 2013 16:49:05 +0200 Subject: avframe: note that linesize is not the usable data size --- libavutil/frame.h | 3 +++ 1 file changed, 3 insertions(+) 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]; -- cgit v1.2.3