Browse Source

vf_alphamerge: fix permissions.

tags/n1.0
Nicolas George 13 years ago
parent
commit
07663871e1
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      libavfilter/vf_alphamerge.c

+ 2
- 4
libavfilter/vf_alphamerge.c View File

@@ -192,15 +192,13 @@ AVFilter avfilter_vf_alphamerge = {
.start_frame = start_frame, .start_frame = start_frame,
.draw_slice = draw_slice, .draw_slice = draw_slice,
.end_frame = end_frame, .end_frame = end_frame,
.min_perms = AV_PERM_READ | AV_PERM_WRITE,
.rej_perms = AV_PERM_REUSE2 | AV_PERM_PRESERVE },
.min_perms = AV_PERM_READ | AV_PERM_WRITE | AV_PERM_PRESERVE },
{ .name = "alpha", { .name = "alpha",
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame, .start_frame = start_frame,
.draw_slice = draw_slice, .draw_slice = draw_slice,
.end_frame = end_frame, .end_frame = end_frame,
.min_perms = AV_PERM_READ,
.rej_perms = AV_PERM_REUSE2 },
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE },
{ .name = NULL } { .name = NULL }
}, },
.outputs = (const AVFilterPad[]) { .outputs = (const AVFilterPad[]) {


Loading…
Cancel
Save