Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Crowell <brian@fluggo.com>2009-06-23 22:17:15 +0400
committerVitor Sessak <vitor1001@gmail.com>2009-06-23 22:17:15 +0400
commitce9dd8f50986e361bea5cfb15358b58e962160b9 (patch)
treef54c39e9186c7fa63f1e39ce36d66f00bd8d93da /libavcodec/avcodec.h
parent7995ed8e69a78fae1da3a210c81d9c0a24f752d3 (diff)
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
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1786b138b0..1705961969 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