1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavfi/blockdetect: Remove nop init() function

This commit is contained in:
Thilo Borgmann 2022-06-01 21:31:20 +02:00
parent 6e13c30a8f
commit e9107d16f3

View File

@ -60,11 +60,6 @@ static const AVOption blockdetect_options[] = {
AVFILTER_DEFINE_CLASS(blockdetect);
static av_cold int blockdetect_init(AVFilterContext *ctx)
{
return 0;
}
static int blockdetect_config_input(AVFilterLink *inlink)
{
AVFilterContext *ctx = inlink->dst;
@ -284,7 +279,6 @@ const AVFilter ff_vf_blockdetect = {
.name = "blockdetect",
.description = NULL_IF_CONFIG_SMALL("Blockdetect filter."),
.priv_size = sizeof(BLKContext),
.init = blockdetect_init,
.uninit = blockdetect_uninit,
FILTER_PIXFMTS_ARRAY(pix_fmts),
FILTER_INPUTS(blockdetect_inputs),