changeset 9882:7b58b1410f48 libavcodec

Make documentation better match the code. Now AVCodecContext.sample_fmt is used. Patch by Brian Crowell <($firstname)@fluggo.com>
author vitor
date Tue, 23 Jun 2009 18:17:15 +0000
parents c69559e9f6c3
children ffc0f9de5743
files avcodec.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Tue Jun 23 07:41:38 2009 +0000
+++ b/avcodec.h	Tue Jun 23 18:17:15 2009 +0000
@@ -1114,7 +1114,7 @@
      * - 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 @@
  * (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