avframe: note that linesize is not the usable data size

This commit is contained in:
Anton Khirnov 2013-09-27 16:49:05 +02:00
parent 5c349ad08a
commit 38e15df148

View File

@ -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];