diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-16 00:07:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-17 21:10:45 +0200 |
commit | 1e35744a4ce57925d5134cdd1f1e704e9e211270 (patch) | |
tree | 9c93dda83e5de165c45d474b7d32ef934b06dac7 /libavfilter/vf_codecview.c | |
parent | f60c3ca1361921ff7929a4dc14ed874f22f37f98 (diff) | |
download | ffmpeg-1e35744a4ce57925d5134cdd1f1e704e9e211270.tar.gz |
avfilter/internal: Replace AVFilterPad.needs_writable by flags
It will be useful in the future when more flags are added.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_codecview.c')
-rw-r--r-- | libavfilter/vf_codecview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_codecview.c b/libavfilter/vf_codecview.c index 1b5c67e7d4..944d8fb303 100644 --- a/libavfilter/vf_codecview.c +++ b/libavfilter/vf_codecview.c @@ -300,9 +300,9 @@ static const AVFilterPad codecview_inputs[] = { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, + .flags = AVFILTERPAD_FLAG_NEEDS_WRITABLE, .filter_frame = filter_frame, .config_props = config_input, - .needs_writable = 1, }, { NULL } }; |