From e9107d16f3ea1eff48f0bfdcaff49f7c32a20919 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Wed, 1 Jun 2022 21:31:20 +0200 Subject: [PATCH] lavfi/blockdetect: Remove nop init() function --- libavfilter/vf_blockdetect.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libavfilter/vf_blockdetect.c b/libavfilter/vf_blockdetect.c index 624dcfdeda..8503b8d815 100644 --- a/libavfilter/vf_blockdetect.c +++ b/libavfilter/vf_blockdetect.c @@ -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),