summaryrefslogtreecommitdiff
path: root/libavfilter/vf_maskfun.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_maskfun.c')
-rw-r--r--libavfilter/vf_maskfun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_maskfun.c b/libavfilter/vf_maskfun.c
index 0a6d17f7af..da1cfe91cb 100644
--- a/libavfilter/vf_maskfun.c
+++ b/libavfilter/vf_maskfun.c
@@ -294,9 +294,9 @@ static const AVFilterPad maskfun_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
+ .flags = AVFILTERPAD_FLAG_NEEDS_WRITABLE,
.filter_frame = filter_frame,
.config_props = config_input,
- .needs_writable = 1,
},
{ NULL }
};