aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-08-17 10:04:56 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-19 21:48:11 +0200
commit52471b56ba5cef13aa0d9149c868911614cfa862 (patch)
tree62806637011c4b0dbd71add7da024d3c88785c6f /libavfilter/avfilter.c
parentf19c988911f4d03d396ab286138bd03c0a56fed4 (diff)
downloadffmpeg-52471b56ba5cef13aa0d9149c868911614cfa862.tar.gz
lavfi: make FFFilterContext private to generic code
Nothing in it needs to be visible to filters.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index c89a7ab508..8a2a9e0593 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -1647,3 +1647,9 @@ int ff_outlink_frame_wanted(AVFilterLink *link)
FilterLinkInternal * const li = ff_link_internal(link);
return li->frame_wanted_out;
}
+
+int ff_filter_execute(AVFilterContext *ctx, avfilter_action_func *func,
+ void *arg, int *ret, int nb_jobs)
+{
+ return fffilterctx(ctx)->execute(ctx, func, arg, ret, nb_jobs);
+}