Commit 5a38d633 authored by vitor's avatar vitor

Make documentation better match the code. Now AVCodecContext.sample_fmt

is used.

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19257 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e15b21f1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment