aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_dedot.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-02-06 14:57:50 +0100
committerPaul B Mahol <onemda@gmail.com>2023-02-12 13:32:00 +0100
commite506ea3ce1de0c782b2b833398240c8e19a02bb4 (patch)
tree09a019d09e096300024c435d15c3485d319bad04 /libavfilter/vf_dedot.c
parent78f46065d861eb8487124e92ab46a459426eb89c (diff)
downloadffmpeg-e506ea3ce1de0c782b2b833398240c8e19a02bb4.tar.gz
avfilter: use ff_inlink_make_frame_writable()
Diffstat (limited to 'libavfilter/vf_dedot.c')
-rw-r--r--libavfilter/vf_dedot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_dedot.c b/libavfilter/vf_dedot.c
index a0638f45b4..6ca47c262a 100644
--- a/libavfilter/vf_dedot.c
+++ b/libavfilter/vf_dedot.c
@@ -289,7 +289,7 @@ static int activate(AVFilterContext *ctx)
s->frames[4]) {
out = av_frame_clone(s->frames[2]);
if (out && !ctx->is_disabled) {
- ret = av_frame_make_writable(out);
+ ret = ff_inlink_make_frame_writable(inlink, &out);
if (ret >= 0) {
if (s->m & 1)
ff_filter_execute(ctx, s->dedotcrawl, out, NULL,