From 78ce00428fda34cdf8a1eba998aa3d2deafb8689 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 25 Feb 2021 18:54:02 +0100 Subject: avcodec: Remove deprecated coder type options Deprecated in be00ec832c519427cd92218abac77dafdc1d5487. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavcodec/libx264.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavcodec/libx264.c') diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 4ddc4973a4..6d945fc3fb 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -747,12 +747,6 @@ FF_ENABLE_DEPRECATION_WARNINGS #endif if (avctx->keyint_min >= 0) x4->params.i_keyint_min = avctx->keyint_min; -#if FF_API_CODER_TYPE -FF_DISABLE_DEPRECATION_WARNINGS - if (avctx->coder_type >= 0) - x4->coder = avctx->coder_type == FF_CODER_TYPE_AC; -FF_ENABLE_DEPRECATION_WARNINGS -#endif if (avctx->me_cmp >= 0) x4->params.analyse.b_chroma_me = avctx->me_cmp & FF_CMP_CHROMA; @@ -1174,9 +1168,6 @@ static const AVCodecDefault x264_defaults[] = { { "b_strategy", "-1" }, #endif { "keyint_min", "-1" }, -#if FF_API_CODER_TYPE - { "coder", "-1" }, -#endif { "cmp", "-1" }, { "threads", AV_STRINGIFY(X264_THREADS_AUTO) }, { "thread_type", "0" }, -- cgit v1.2.3