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>
pull/388/head
Andreas Rheinhardt 2 years ago
parent 1132007d3c
commit f18f8a561c
  1. 4
      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

Loading…
Cancel
Save