summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-03 14:48:00 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-19 18:37:03 +0200
commit9b4f1cdb6a7e838c0261109e8a6262e78657ee7b (patch)
tree04b969fa8f50a153852d82d208301d460fd6477b /libavcodec/utils.c
parent20d33ee8b1d2cf5ba4b4d4a81db0ff7b4a125dd3 (diff)
downloadffmpeg-9b4f1cdb6a7e838c0261109e8a6262e78657ee7b.tar.gz
lavc: remove the FF_API_AUDIO_OLD cruft.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 6d31254afb..e90be4614d 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)