[FFmpeg-cvslog] lavfi/blockdetect: Remove nop init() function

Thilo Borgmann git at videolan.org
Wed Jun 1 22:31:51 EEST 2022


ffmpeg | branch: master | Thilo Borgmann <thilo.borgmann at mail.de> | Wed Jun  1 21:31:20 2022 +0200| [e9107d16f3ea1eff48f0bfdcaff49f7c32a20919] | committer: Thilo Borgmann

lavfi/blockdetect: Remove nop init() function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9107d16f3ea1eff48f0bfdcaff49f7c32a20919
---

 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),



More information about the ffmpeg-cvslog mailing list