From 1e35744a4ce57925d5134cdd1f1e704e9e211270 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 16 Aug 2021 00:07:41 +0200 Subject: avfilter/internal: Replace AVFilterPad.needs_writable by flags It will be useful in the future when more flags are added. Reviewed-by: Nicolas George Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_elbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_elbg.c') diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index afaa6225d2..d07b0cf0cb 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -235,9 +235,9 @@ static const AVFilterPad elbg_inputs[] = { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, + .flags = AVFILTERPAD_FLAG_NEEDS_WRITABLE, .config_props = config_input, .filter_frame = filter_frame, - .needs_writable = 1, }, { NULL } }; -- cgit v1.2.3