From f18f8a561c8a9449cc2f5bc66000a8fe94308eaf Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 18 Oct 2022 12:16:59 +0200 Subject: [PATCH] avcodec/speedhqenc: Remove always-true #if CONFIG_SPEEDHQ_ENCODER This file is built iff the SpeedHQ encoder is enabled. Signed-off-by: Andreas Rheinhardt --- libavcodec/speedhqenc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/speedhqenc.c b/libavcodec/speedhqenc.c index 4c1d76631b..527e63e602 100644 --- a/libavcodec/speedhqenc.c +++ b/libavcodec/speedhqenc.c @@ -27,8 +27,6 @@ * SpeedHQ encoder. */ -#include "config_components.h" - #include "libavutil/thread.h" #include "avcodec.h" @@ -280,7 +278,6 @@ int ff_speedhq_mb_y_order_to_mb(int mb_y_order, int mb_height, int *first_in_sli return mb_y_order * 4 + slice_num; } -#if CONFIG_SPEEDHQ_ENCODER const FFCodec ff_speedhq_encoder = { .p.name = "speedhq", CODEC_LONG_NAME("NewTek SpeedHQ"), @@ -297,4 +294,3 @@ const FFCodec ff_speedhq_encoder = { AV_PIX_FMT_NONE }, }; -#endif