diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-17 07:17:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-22 08:49:58 +0200 |
commit | d6f4fe68c8e87175e826fdca92e0f3c65793123e (patch) | |
tree | 5b8802c1116182f8009722b926ea019bddaac47a /libavcodec/avcodec.h | |
parent | 46a86c61940ec8efdfa90b23f05c38ecc1184a34 (diff) | |
download | ffmpeg-d6f4fe68c8e87175e826fdca92e0f3c65793123e.tar.gz |
lavc: extend frame_size doxy.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index cda6703167..64d45db349 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2081,7 +2081,13 @@ typedef struct AVCodecContext { /* The following data should not be initialized. */ /** - * Samples per packet, initialized when calling 'init'. + * Number of samples per channel in an audio frame. + * + * - encoding: set by libavcodec in avcodec_open2(). Each submitted frame + * except the last must contain exactly frame_size samples per channel. + * May be 0 when the codec has CODEC_CAP_VARIABLE_FRAME_SIZE set, then the + * frame size is not restricted. + * - decoding: may be set by some decoders to indicate constant frame size */ int frame_size; |