summaryrefslogtreecommitdiff
path: root/libavfilter/vf_convolution.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-11 21:47:13 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-19 04:00:05 +0200
commit320891105569dafb503cc5e8650f95954610f02b (patch)
tree18b627f5c8556d772f855afd6ca1a2f0ee26a89c /libavfilter/vf_convolution.c
parentbc86e1b6027f5bf9fee7b46542f0d51923925a43 (diff)
avfilter/vf_convolution: Fix standalone build of kirsch, scharr filters
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_convolution.c')
-rw-r--r--libavfilter/vf_convolution.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/vf_convolution.c b/libavfilter/vf_convolution.c
index 5f59307c16..ccb3515bef 100644
--- a/libavfilter/vf_convolution.c
+++ b/libavfilter/vf_convolution.c
@@ -974,8 +974,6 @@ const AVFilter ff_vf_convolution = {
#endif /* CONFIG_CONVOLUTION_FILTER */
-#if CONFIG_PREWITT_FILTER || CONFIG_ROBERTS_FILTER || CONFIG_SOBEL_FILTER
-
static const AVOption prewitt_roberts_sobel_options[] = {
{ "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=15}, 0, 15, FLAGS},
{ "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, 65535, FLAGS},
@@ -1082,5 +1080,3 @@ const AVFilter ff_vf_scharr = {
};
#endif /* CONFIG_SCHARR_FILTER */
-
-#endif /* CONFIG_PREWITT_FILTER || CONFIG_ROBERTS_FILTER || CONFIG_SOBEL_FILTER || CONFIG_SCHARR_FILTER */