From: Anton Khirnov Date: Fri, 27 Sep 2013 14:49:05 +0000 (+0200) Subject: avframe: note that linesize is not the usable data size X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=38e15df1489d86c016515223ee693e7d0326c56a;p=ffmpeg avframe: note that linesize is not the usable data size --- diff --git a/libavutil/frame.h b/libavutil/frame.h index d71948db09d..b0676e7f58c 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];