diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-08-14 18:40:34 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-17 18:26:40 +0200 |
commit | 07663871e18d4b463e5ae53d86afd3ce9339eb34 (patch) | |
tree | 808dfb30da4cb1e41fade96d4250783b65a37d7d | |
parent | de35d2b498dd5abf3e131426843bad442981eaaa (diff) | |
download | ffmpeg-07663871e18d4b463e5ae53d86afd3ce9339eb34.tar.gz |
vf_alphamerge: fix permissions.
-rw-r--r-- | libavfilter/vf_alphamerge.c | 6 |
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[]) { |