[FFmpeg-cvslog] avcodec: Clarify AVFrame member documentation.

Kieran Kunhya git at videolan.org
Tue Feb 7 02:02:59 CET 2012


ffmpeg | branch: master | Kieran Kunhya <kierank at ob-encoder.com> | Sun Feb  5 04:28:58 2012 -0600| [9814974d2e4c7f3f7fda6cd45ab330b20bc88452] | committer: Diego Biurrun

avcodec: Clarify AVFrame member documentation.

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9814974d2e4c7f3f7fda6cd45ab330b20bc88452
---

 libavcodec/avcodec.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fcbb68a..05e8b9c 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;



More information about the ffmpeg-cvslog mailing list