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_colorkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_colorkey.c') diff --git a/libavfilter/vf_colorkey.c b/libavfilter/vf_colorkey.c index dea7f89e28..2ebd470e6e 100644 --- a/libavfilter/vf_colorkey.c +++ b/libavfilter/vf_colorkey.c @@ -176,8 +176,8 @@ static const AVFilterPad colorkey_inputs[] = { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, + .flags = AVFILTERPAD_FLAG_NEEDS_WRITABLE, .filter_frame = filter_frame, - .needs_writable = 1, }, { NULL } }; -- cgit v1.2.3