diff options
author | Carl Eugen Hoyos | 2013-06-30 13:34:46 +0200 |
---|---|---|
committer | Carl Eugen Hoyos | 2013-06-30 13:47:45 +0200 |
commit | 674d8a9629609a17fd6916164556cb012d6e6a1c (patch) | |
tree | a12d2f0ecdf16372ca0a5a7904e44531b537570c /libavcodec/pthread.c | |
parent | 33f5d70df589bb00c576fac62fb311f08673c7c5 (diff) |
Rename thread_init() in libavcodec and libavfilter as library_thread_init().
The aix header sys/thread.h contains a definition for thread_init().
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r-- | libavcodec/pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 7404f870da..af3ef2dac8 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -249,7 +249,7 @@ static int avcodec_thread_execute2(AVCodecContext *avctx, action_func2* func2, v return avcodec_thread_execute(avctx, NULL, arg, ret, job_count, 0); } -static int thread_init(AVCodecContext *avctx) +static int avcodec_thread_init(AVCodecContext *avctx) { int i; ThreadContext *c; @@ -1103,7 +1103,7 @@ int ff_thread_init(AVCodecContext *avctx) validate_thread_parameters(avctx); if (avctx->active_thread_type&FF_THREAD_SLICE) - return thread_init(avctx); + return avcodec_thread_init(avctx); else if (avctx->active_thread_type&FF_THREAD_FRAME) return frame_thread_init(avctx); |