avcodec: Clarify AVFrame member documentation.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Kieran Kunhya 2012-02-05 04:28:58 -06:00 committed by Diego Biurrun
parent 3cc0353f8d
commit 9814974d2e

View File

@ -852,7 +852,7 @@ typedef struct AVFrame {
* For audio, only linesize[0] may be set. For planar audio, each channel
* plane must be the same size.
*
* - encoding: Set by user (video only)
* - encoding: Set by user
* - decoding: set by AVCodecContext.get_buffer()
*/
int linesize[AV_NUM_DATA_POINTERS];
@ -1102,7 +1102,7 @@ typedef struct AVFrame {
/**
* number of audio samples (per channel) described by this frame
* - encoding: unused
* - encoding: Set by user
* - decoding: Set by libavcodec
*/
int nb_samples;