mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
vf_alphamerge: fix permissions.
This commit is contained in:
parent
de35d2b498
commit
07663871e1
@ -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[]) {
|
||||
|
Loading…
Reference in New Issue
Block a user