avcodec: Clarify AVFrame member documentation.
authorKieran Kunhya <kierank@ob-encoder.com>
Sun, 5 Feb 2012 10:28:58 +0000 (04:28 -0600)
committerDiego Biurrun <diego@biurrun.de>
Mon, 6 Feb 2012 17:08:08 +0000 (18:08 +0100)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/avcodec.h

index fcbb68a..05e8b9c 100644 (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;