comparison avcodec.h @ 5953:402833508709 libavcodec

Clarify documentation for avcodec_encode_audio. patch by Stefano Sabatini, stefano.sabatini-lala poste it
author diego
date Wed, 28 Nov 2007 12:41:35 +0000
parents d63186919b60
children 74e314bb31c4
comparison
equal deleted inserted replaced
5952:aa06b0387069 5953:402833508709
2672 * 2672 *
2673 * @param avctx the codec context 2673 * @param avctx the codec context
2674 * @param[out] buf the output buffer 2674 * @param[out] buf the output buffer
2675 * @param[in] buf_size the output buffer size 2675 * @param[in] buf_size the output buffer size
2676 * @param[in] samples the input buffer containing the samples 2676 * @param[in] samples the input buffer containing the samples
2677 * The number of samples read from this buffer is frame_size*channels,
2678 * both of which are defined in \p avctx.
2677 * @return On error a negative value is returned, on succes zero or the number 2679 * @return On error a negative value is returned, on succes zero or the number
2678 * of bytes used from the input buffer. 2680 * of bytes used to encode the data read from the input buffer.
2679 */ 2681 */
2680 int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, 2682 int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size,
2681 const short *samples); 2683 const short *samples);
2682 2684
2683 /** 2685 /**