aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2013-07-16 11:31:23 -0400
committerMartin Storsjö <martin@martin.st>2013-07-17 00:13:31 +0300
commit50612484e058e8b241f0528584d64d9d2ccebf12 (patch)
treef8786c092917bd30e953fd2c7ce2e35f5af33b3e /libavfilter
parente740929a071ab032ffa382e89da69c6ec7cf882c (diff)
downloadffmpeg-50612484e058e8b241f0528584d64d9d2ccebf12.tar.gz
pthread: Rename thread_init to avoid symbol collision
The AIX threads library exposes a function with the same name. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c
index 374c1c32c3..2af0936ab5 100644
--- a/libavfilter/pthread.c
+++ b/libavfilter/pthread.c
@@ -144,7 +144,7 @@ static int thread_execute(AVFilterContext *ctx, action_func *func,
return 0;
}
-static int thread_init(ThreadContext *c, int nb_threads)
+static int thread_init_internal(ThreadContext *c, int nb_threads)
{
int i, ret;
@@ -207,7 +207,7 @@ int ff_graph_thread_init(AVFilterGraph *graph)
if (!graph->internal->thread)
return AVERROR(ENOMEM);
- ret = thread_init(graph->internal->thread, graph->nb_threads);
+ ret = thread_init_internal(graph->internal->thread, graph->nb_threads);
if (ret <= 1) {
av_freep(&graph->internal->thread);
graph->thread_type = 0;