comparison avcodec.h @ 7833:52d04dea9491 libavcodec

Remove deprecated avcodec_decode_audio() this one was not under #ifdef.
author michael
date Mon, 08 Sep 2008 18:31:48 +0000
parents 573f52f011c0
children c6e9ff53dab4
comparison
equal deleted inserted replaced
7832:573f52f011c0 7833:52d04dea9491
2617 * @see avcodec_alloc_context, avcodec_find_decoder, avcodec_find_encoder 2617 * @see avcodec_alloc_context, avcodec_find_decoder, avcodec_find_encoder
2618 */ 2618 */
2619 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); 2619 int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
2620 2620
2621 /** 2621 /**
2622 * @deprecated Use avcodec_decode_audio2() instead.
2623 */
2624 attribute_deprecated int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,
2625 int *frame_size_ptr,
2626 const uint8_t *buf, int buf_size);
2627
2628 /**
2629 * Decodes an audio frame from \p buf into \p samples. 2622 * Decodes an audio frame from \p buf into \p samples.
2630 * The avcodec_decode_audio2() function decodes an audio frame from the input 2623 * The avcodec_decode_audio2() function decodes an audio frame from the input
2631 * buffer \p buf of size \p buf_size. To decode it, it makes use of the 2624 * buffer \p buf of size \p buf_size. To decode it, it makes use of the
2632 * audio codec which was coupled with \p avctx using avcodec_open(). The 2625 * audio codec which was coupled with \p avctx using avcodec_open(). The
2633 * resulting decoded frame is stored in output buffer \p samples. If no frame 2626 * resulting decoded frame is stored in output buffer \p samples. If no frame