summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-10 22:50:57 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-19 04:31:03 +0200
commit412d645ba104c7d25601f082ec9b22cc097799b2 (patch)
tree132d332fa51d8fcac1e1f3b714f29ea57ed1d8d3 /libavfilter
parentb5be13255fa59003214c423870ac59886c6a1622 (diff)
avfilter/vf_lut: Remove empty init function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_lut.c7
1 files 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