summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/split.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/split.c b/libavfilter/split.c
index ac6939e35d..083e31b602 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -52,6 +52,7 @@ static int split_init(AVFilterContext *ctx, const char *args)
snprintf(name, sizeof(name), "output%d", i);
pad.type = ctx->filter->inputs[0].type;
pad.name = av_strdup(name);
+ pad.rej_perms = AV_PERM_WRITE;
ff_insert_outpad(ctx, i, &pad);
}