summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@ob-encoder.com>2012-02-05 04:28:58 -0600
committerDiego Biurrun <diego@biurrun.de>2012-02-06 18:08:08 +0100
commit9814974d2e4c7f3f7fda6cd45ab330b20bc88452 (patch)
tree3bc67cdfba6b20371696c050fa43e18254f9b4f8
parent3cc0353f8d4eaa4862450bbe517e7fcf8be4f2bd (diff)
avcodec: Clarify AVFrame member documentation.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 2 insertions, 2 deletions
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;