Module: libav Branch: master Commit: 38e15df1489d86c016515223ee693e7d0326c56a
Author: Anton Khirnov <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Fri Sep 27 16:49:05 2013 +0200 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 d71948d..b0676e7 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]; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
