[FFmpeg-cvslog] avframe: note that linesize is not the usable data size
Anton Khirnov
git at videolan.org
Sat Sep 28 10:57:04 CEST 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Sep 27 16:49:05 2013 +0200| [38e15df1489d86c016515223ee693e7d0326c56a] | committer: Anton Khirnov
avframe: note that linesize is not the usable data size
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=38e15df1489d86c016515223ee693e7d0326c56a
---
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];
More information about the ffmpeg-cvslog
mailing list