From 903a0acba46e66f3a7c3fd59e9ca14b38cfb731b Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 14 Sep 2014 21:23:44 -0300 Subject: avformat: remove obsolete FF_API_ALLOC_OUTPUT_CONTEXT cruft Signed-off-by: James Almer --- libavformat/mux.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libavformat/mux.c') diff --git a/libavformat/mux.c b/libavformat/mux.c index 55add43ebb..21e6a07723 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -171,16 +171,6 @@ error: return ret; } -#if FF_API_ALLOC_OUTPUT_CONTEXT -AVFormatContext *avformat_alloc_output_context(const char *format, - AVOutputFormat *oformat, const char *filename) -{ - AVFormatContext *avctx; - int ret = avformat_alloc_output_context2(&avctx, oformat, format, filename); - return ret < 0 ? NULL : avctx; -} -#endif - static int validate_codec_tag(AVFormatContext *s, AVStream *st) { const AVCodecTag *avctag; -- cgit v1.2.3