diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-17 10:33:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-17 10:40:15 +0200 |
commit | 10336ca6400a789e221027923c03400c102e50b9 (patch) | |
tree | a6a772f5f798c67825afcc579ce9e136eeec98c4 /libavfilter/pthread.c | |
parent | 9836f47cf8b6effb0e1d80b5acfdc32e49265e98 (diff) | |
parent | 50612484e058e8b241f0528584d64d9d2ccebf12 (diff) | |
download | ffmpeg-10336ca6400a789e221027923c03400c102e50b9.tar.gz |
Merge commit '50612484e058e8b241f0528584d64d9d2ccebf12'
* commit '50612484e058e8b241f0528584d64d9d2ccebf12':
pthread: Rename thread_init to avoid symbol collision
Conflicts:
libavcodec/pthread.c
libavfilter/pthread.c
See: 674d8a9629609a17fd6916164556cb012d6e6a1c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/pthread.c')
-rw-r--r-- | libavfilter/pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c index 29faa28b4a..ab2966236f 100644 --- a/libavfilter/pthread.c +++ b/libavfilter/pthread.c @@ -146,7 +146,7 @@ static int thread_execute(AVFilterContext *ctx, action_func *func, return 0; } -static int avfilter_thread_init(ThreadContext *c, int nb_threads) +static int thread_init_internal(ThreadContext *c, int nb_threads) { int i, ret; @@ -208,7 +208,7 @@ int ff_graph_thread_init(AVFilterGraph *graph) if (!graph->internal->thread) return AVERROR(ENOMEM); - ret = avfilter_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; |