aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:40:34 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:40 +0200
commit07663871e18d4b463e5ae53d86afd3ce9339eb34 (patch)
tree808dfb30da4cb1e41fade96d4250783b65a37d7d
parentde35d2b498dd5abf3e131426843bad442981eaaa (diff)
downloadffmpeg-07663871e18d4b463e5ae53d86afd3ce9339eb34.tar.gz
vf_alphamerge: fix permissions.
-rw-r--r--libavfilter/vf_alphamerge.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index fdcc01346b..613ca897d6 100644
--- a/libavfilter/vf_alphamerge.c
+++ b/libavfilter/vf_alphamerge.c
@@ -192,15 +192,13 @@ AVFilter avfilter_vf_alphamerge = {
.start_frame = start_frame,
.draw_slice = draw_slice,
.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",
.type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame,
.draw_slice = draw_slice,
.end_frame = end_frame,
- .min_perms = AV_PERM_READ,
- .rej_perms = AV_PERM_REUSE2 },
+ .min_perms = AV_PERM_READ | AV_PERM_PRESERVE },
{ .name = NULL }
},
.outputs = (const AVFilterPad[]) {