summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-08-08 16:28:41 +0200
committerAnton Khirnov <anton@khirnov.net>2013-09-28 08:06:19 +0200
commit0767bfd1994c4bf22e167ffadb8f823a950aad18 (patch)
treebdbf92d10ec581bb324cd245dcfc6e888dcaa12c /libavfilter/internal.h
parent38e15df1489d86c016515223ee693e7d0326c56a (diff)
lavfi: allow user-provided execute() callbacks
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 12655bc3e6..44e75832d0 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -122,13 +122,11 @@ struct AVFilterPad {
struct AVFilterGraphInternal {
void *thread;
- int (*thread_execute)(AVFilterContext *ctx, action_func *func, void *arg,
- int *ret, int nb_jobs);
+ avfilter_execute_func *thread_execute;
};
struct AVFilterInternal {
- int (*execute)(AVFilterContext *ctx, action_func *func, void *arg,
- int *ret, int nb_jobs);
+ avfilter_execute_func *execute;
};
#if FF_API_AVFILTERBUFFER