split: set rej_perms = AV_PERM_WRITE on outputs.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 14 Aug 2012 16:37:15 +0000 (18:37 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 17 Aug 2012 16:26:39 +0000 (18:26 +0200)
libavfilter/split.c

index ac6939e..083e31b 100644 (file)
@@ -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);
     }