aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-18 12:16:59 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-21 21:12:45 +0200
commitf18f8a561c8a9449cc2f5bc66000a8fe94308eaf (patch)
tree5a40849ef604ac8daf94cf937b889fd6002891b8
parent1132007d3c340960f67da1dab79afe5931f3d36e (diff)
downloadffmpeg-f18f8a561c8a9449cc2f5bc66000a8fe94308eaf.tar.gz
avcodec/speedhqenc: Remove always-true #if CONFIG_SPEEDHQ_ENCODER
This file is built iff the SpeedHQ encoder is enabled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/speedhqenc.c4
1 files changed, 0 insertions, 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