summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:37:15 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:39 +0200
commita34eb393fccd5775d51a9b6f53d22f18020d5af4 (patch)
tree7b2cd505f7d534a31a8c593efe2582a6df08626b /libavfilter
parenta0d274d22892d41f9215149548f5543473bfcfea (diff)
split: set rej_perms = AV_PERM_WRITE on outputs.
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);
}