From 0767bfd1994c4bf22e167ffadb8f823a950aad18 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 8 Aug 2013 16:28:41 +0200 Subject: lavfi: allow user-provided execute() callbacks --- libavfilter/pthread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/pthread.c') diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c index 2af0936ab5..a4f45c82cd 100644 --- a/libavfilter/pthread.c +++ b/libavfilter/pthread.c @@ -43,7 +43,7 @@ typedef struct ThreadContext { int nb_threads; pthread_t *workers; - action_func *func; + avfilter_action_func *func; /* per-execute perameters */ AVFilterContext *ctx; @@ -114,7 +114,7 @@ static void slice_thread_park_workers(ThreadContext *c) pthread_mutex_unlock(&c->current_job_lock); } -static int thread_execute(AVFilterContext *ctx, action_func *func, +static int thread_execute(AVFilterContext *ctx, avfilter_action_func *func, void *arg, int *ret, int nb_jobs) { ThreadContext *c = ctx->graph->internal->thread; -- cgit v1.2.3