diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 14:48:00 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-19 18:37:03 +0200 |
commit | 9b4f1cdb6a7e838c0261109e8a6262e78657ee7b (patch) | |
tree | 04b969fa8f50a153852d82d208301d460fd6477b /libavcodec/utils.c | |
parent | 20d33ee8b1d2cf5ba4b4d4a81db0ff7b4a125dd3 (diff) | |
download | ffmpeg-streaming-9b4f1cdb6a7e838c0261109e8a6262e78657ee7b.zip ffmpeg-streaming-9b4f1cdb6a7e838c0261109e8a6262e78657ee7b.tar.gz |
lavc: remove the FF_API_AUDIO_OLD cruft.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 6d31254..e90be46 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -679,20 +679,6 @@ int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *pi return ret; } -#if FF_API_AUDIO_OLD -int attribute_align_arg avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples, - int *frame_size_ptr, - const uint8_t *buf, int buf_size) -{ - AVPacket avpkt; - av_init_packet(&avpkt); - avpkt.data = buf; - avpkt.size = buf_size; - - return avcodec_decode_audio3(avctx, samples, frame_size_ptr, &avpkt); -} -#endif - int attribute_align_arg avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt) |