diff mbox series

[FFmpeg-devel,21/38] avfilter/vf_lut: Remove empty init function

Message ID AM7PR03MB6660005154DA17B0913662158FD79@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 412d645ba104c7d25601f082ec9b22cc097799b2
Headers show
Series [FFmpeg-devel,01/39] avfilter/vf_maskedminmax: Simplify init | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 11, 2021, 11:42 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/vf_lut.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index bc9af9f609..d335fd6c39 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -607,13 +607,10 @@  AVFILTER_DEFINE_CLASS_EXT(lut, "lut/lutyuv/lutrgb", options);
 
 #if CONFIG_LUT_FILTER
 
-static int lut_init(AVFilterContext *ctx)
-{
-    return 0;
-}
-
+#define lut_init NULL
 DEFINE_LUT_FILTER(lut, "Compute and apply a lookup table to the RGB/YUV input video.",
                   lut);
+#undef lut_init
 #endif
 
 #if CONFIG_LUTYUV_FILTER