[FFmpeg-cvslog] r19257 - trunk/libavcodec/avcodec.h

vitor subversion
Tue Jun 23 20:17:16 CEST 2009


Author: vitor
Date: Tue Jun 23 20:17:15 2009
New Revision: 19257

Log:
Make documentation better match the code. Now AVCodecContext.sample_fmt 
is used.

Patch by Brian Crowell <($firstname)@fluggo.com>

Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Tue Jun 23 17:38:53 2009	(r19256)
+++ trunk/libavcodec/avcodec.h	Tue Jun 23 20:17:15 2009	(r19257)
@@ -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_
  * (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



More information about the ffmpeg-cvslog mailing list