[SCM] libav/experimental: Make documentation better match the code. Now AVCodecContext.sample_fmt is used.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:09 UTC 2013


The following commit has been merged in the experimental branch:
commit ce9dd8f50986e361bea5cfb15358b58e962160b9
Author: Brian Crowell <brian at fluggo.com>
Date:   Tue Jun 23 18:17:15 2009 +0000

    Make documentation better match the code. Now AVCodecContext.sample_fmt
    is used.
    
    Patch by Brian Crowell <($firstname)@fluggo.com>
    
    Originally committed as revision 19257 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1786b13..1705961 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1114,7 +1114,7 @@ typedef struct AVCodecContext {
      * - encoding: Set by user.
      * - decoding: Set by libavcodec.
      */
-    enum SampleFormat sample_fmt;  ///< sample format, currently unused
+    enum SampleFormat sample_fmt;  ///< sample format
 
     /* The following data should not be initialized. */
     /**
@@ -3224,7 +3224,7 @@ attribute_deprecated int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *s
  * (AltiVec and SSE do).
  *
  * @param avctx the codec context
- * @param[out] samples the output buffer
+ * @param[out] samples the output buffer, sample type in avctx->sample_fmt
  * @param[in,out] frame_size_ptr the output buffer size in bytes
  * @param[in] avpkt The input AVPacket containing the input buffer.
  *            You can create such packet with av_init_packet() and by then setting

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list