Commit 38e15df1 authored by Anton Khirnov's avatar Anton Khirnov

avframe: note that linesize is not the usable data size

parent 5c349ad0
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment