mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avframe: note that linesize is not the usable data size
This commit is contained in:
parent
5c349ad08a
commit
38e15df148
@ -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];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user