Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavfilter/vf_lut.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to