diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index fcbb68ad60..05e8b9c05b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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;