summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_sub.c')
-rw-r--r--video/filter/vf_sub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c
index 184ab8deb3..fdaee80937 100644
--- a/video/filter/vf_sub.c
+++ b/video/filter/vf_sub.c
@@ -40,6 +40,11 @@
#include "options/m_option.h"
+#include "config.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
struct vf_priv_s {
int opt_top_margin, opt_bottom_margin;