mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
split: set rej_perms = AV_PERM_WRITE on outputs.
This commit is contained in:
parent
a0d274d228
commit
a34eb393fc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user