Browse Source

split: set rej_perms = AV_PERM_WRITE on outputs.

tags/n1.0
Nicolas George 12 years ago
parent
commit
a34eb393fc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/split.c

+ 1
- 0
libavfilter/split.c 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);
}


Loading…
Cancel
Save