mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
1132007d3c
commit
f18f8a561c
|
@ -27,8 +27,6 @@
|
||||||
* SpeedHQ encoder.
|
* SpeedHQ encoder.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config_components.h"
|
|
||||||
|
|
||||||
#include "libavutil/thread.h"
|
#include "libavutil/thread.h"
|
||||||
|
|
||||||
#include "avcodec.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;
|
return mb_y_order * 4 + slice_num;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_SPEEDHQ_ENCODER
|
|
||||||
const FFCodec ff_speedhq_encoder = {
|
const FFCodec ff_speedhq_encoder = {
|
||||||
.p.name = "speedhq",
|
.p.name = "speedhq",
|
||||||
CODEC_LONG_NAME("NewTek SpeedHQ"),
|
CODEC_LONG_NAME("NewTek SpeedHQ"),
|
||||||
|
@ -297,4 +294,3 @@ const FFCodec ff_speedhq_encoder = {
|
||||||
AV_PIX_FMT_NONE
|
AV_PIX_FMT_NONE
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue