Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-16 01:07:41 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-17 22:10:45 +0300
commit1e35744a4ce57925d5134cdd1f1e704e9e211270 (patch)
tree9c93dda83e5de165c45d474b7d32ef934b06dac7 /libavfilter/vf_colorkey.c
parentf60c3ca1361921ff7929a4dc14ed874f22f37f98 (diff)
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_colorkey.c')
-rw-r--r--libavfilter/vf_colorkey.c2
1 files changed, 1 insertions, 1 deletions
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 }
};