avframe: note that linesize is not the usable data size
This commit is contained in:
@@ -84,6 +84,9 @@ typedef struct AVFrame {
|
|||||||
*
|
*
|
||||||
* For audio, only linesize[0] may be set. For planar audio, each channel
|
* For audio, only linesize[0] may be set. For planar audio, each channel
|
||||||
* plane must be the same size.
|
* 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];
|
int linesize[AV_NUM_DATA_POINTERS];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user