summaryrefslogtreecommitdiff
path: root/libavfilter/vf_threshold.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_threshold.c')
-rw-r--r--libavfilter/vf_threshold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_threshold.c b/libavfilter/vf_threshold.c
index 17ceb0dfa8..c37d676882 100644
--- a/libavfilter/vf_threshold.c
+++ b/libavfilter/vf_threshold.c
@@ -146,8 +146,8 @@ static int process_frame(FFFrameSync *fs)
td.threshold = threshold;
td.min = min;
td.max = max;
- ctx->internal->execute(ctx, filter_slice, &td, NULL,
- FFMIN(s->height[2], ff_filter_get_nb_threads(ctx)));
+ ff_filter_execute(ctx, filter_slice, &td, NULL,
+ FFMIN(s->height[2], ff_filter_get_nb_threads(ctx)));
}
out->pts = av_rescale_q(s->fs.pts, s->fs.time_base, outlink->time_base);