From f073b1500e3b53835034b7421db0a1cf5bea05a0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 23 Feb 2013 08:20:12 +0100 Subject: lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft --- libavcodec/wmaenc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libavcodec/wmaenc.c') diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index f110f89465..adaa7b37e2 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -52,11 +52,6 @@ static int encode_init(AVCodecContext * avctx){ return AVERROR(EINVAL); } -#if FF_API_OLD_ENCODE_AUDIO - if (!(avctx->coded_frame = avcodec_alloc_frame())) - return AVERROR(ENOMEM); -#endif - /* extract flag infos */ flags1 = 0; flags2 = 1; -- cgit v1.2.3