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/af_anequalizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_anequalizer.c') diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c index 9aab577079..b9d02e28ff 100644 --- a/libavfilter/af_anequalizer.c +++ b/libavfilter/af_anequalizer.c @@ -757,9 +757,9 @@ static const AVFilterPad inputs[] = { { .name = "default", .type = AVMEDIA_TYPE_AUDIO, + .flags = AVFILTERPAD_FLAG_NEEDS_WRITABLE, .config_props = config_input, .filter_frame = filter_frame, - .needs_writable = 1, }, { NULL } }; -- cgit v1.2.3