summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_gradfun.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_gradfun.c')
-rw-r--r--video/filter/vf_gradfun.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/filter/vf_gradfun.c b/video/filter/vf_gradfun.c
index c34b77f82a..33bc883c61 100644
--- a/video/filter/vf_gradfun.c
+++ b/video/filter/vf_gradfun.c
@@ -29,6 +29,11 @@
#include "vf_lavfi.h"
+#include "config.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
struct vf_priv_s {
float cfg_thresh;
int cfg_radius;