diff --git a/modules/stream_filter/skiptags.c b/modules/stream_filter/skiptags.c
index 1097fc2764d7a4d022585638245655bf2739c75a..71f25140670c47e0b08df8e979a4639a815ac596 100644
--- a/modules/stream_filter/skiptags.c
+++ b/modules/stream_filter/skiptags.c
@@ -33,7 +33,7 @@
 #include <vlc_block.h>
 
 #define MAX_TAGS 16
-#define MAX_TAG_SIZE (1<<17)
+#define MAX_TAG_SIZE (1<<21)
 
 struct skiptags_sys_t
 {