diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-04-16 08:44:56 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-04-16 08:44:56 +0000 |
commit | 97b2865aa27c1e50885338e594eff8af374fb41c (patch) | |
tree | f454a41a3b99a2e47f7605ec681fc649f6972934 | |
parent | 003bf337477fb73c8bfe529fb53f8d7c09a676b1 (diff) | |
download | ffmpeg-97b2865aa27c1e50885338e594eff8af374fb41c.tar.gz |
libaacplus: remove FF_API_OLD_ENCODE_AUDIO cruft
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/libaacplus.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/libaacplus.c b/libavcodec/libaacplus.c index 05c9e389d1..2e09c9a261 100644 --- a/libavcodec/libaacplus.c +++ b/libavcodec/libaacplus.c @@ -74,11 +74,6 @@ static av_cold int aacPlus_encode_init(AVCodecContext *avctx) avctx->frame_size = s->samples_input / avctx->channels; -#if FF_API_OLD_ENCODE_AUDIO - avctx->coded_frame= avcodec_alloc_frame(); - avctx->coded_frame->key_frame= 1; -#endif - /* Set decoder specific info */ avctx->extradata_size = 0; if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) { @@ -118,9 +113,6 @@ static av_cold int aacPlus_encode_close(AVCodecContext *avctx) { aacPlusAudioContext *s = avctx->priv_data; -#if FF_API_OLD_ENCODE_AUDIO - av_freep(&avctx->coded_frame); -#endif av_freep(&avctx->extradata); aacplusEncClose(s->aacplus_handle); |