summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_crop.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_crop.c')
-rw-r--r--video/filter/vf_crop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c
index 79a2fce88c..495abf65c7 100644
--- a/video/filter/vf_crop.c
+++ b/video/filter/vf_crop.c
@@ -29,6 +29,11 @@
#include "options/m_option.h"
+#include "config.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
static const struct vf_priv_s {
int crop_w,crop_h;
int crop_x,crop_y;