1
0
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:
Nicolas George 2012-08-14 18:37:15 +02:00
parent a0d274d228
commit a34eb393fc

View 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);
}