Commit 9814974d authored by Kieran Kunhya's avatar Kieran Kunhya Committed by Diego Biurrun

avcodec: Clarify AVFrame member documentation.

Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent 3cc0353f
...@@ -852,7 +852,7 @@ typedef struct AVFrame { ...@@ -852,7 +852,7 @@ 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.
* *
* - encoding: Set by user (video only) * - encoding: Set by user
* - decoding: set by AVCodecContext.get_buffer() * - decoding: set by AVCodecContext.get_buffer()
*/ */
int linesize[AV_NUM_DATA_POINTERS]; int linesize[AV_NUM_DATA_POINTERS];
...@@ -1102,7 +1102,7 @@ typedef struct AVFrame { ...@@ -1102,7 +1102,7 @@ typedef struct AVFrame {
/** /**
* number of audio samples (per channel) described by this frame * number of audio samples (per channel) described by this frame
* - encoding: unused * - encoding: Set by user
* - decoding: Set by libavcodec * - decoding: Set by libavcodec
*/ */
int nb_samples; int nb_samples;
......
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