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/avfilter.c | |
parent | f60c3ca1361921ff7929a4dc14ed874f22f37f98 (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/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index cc24a6ed21..87b44d34fe 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -950,7 +950,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFrame *frame) if (!(filter_frame = dst->filter_frame)) filter_frame = default_filter_frame; - if (dst->needs_writable) { + if (dst->flags & AVFILTERPAD_FLAG_NEEDS_WRITABLE) { ret = ff_inlink_make_frame_writable(link, &frame); if (ret < 0) goto fail; |