summaryrefslogtreecommitdiffstats
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2010-03-15 14:03:01 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-03-15 14:03:01 +0000
commit4a287145c2838aaef61c927fd5311fff643845ef (patch)
tree48ac8f2c2fda70a98e45ca9ae1819c057ce5f7e5 /libavcodec/pthread.c
parentb1d55e5e4f9090a67de552e9829208b500d0b1c3 (diff)
downloadffmpeg-streaming-4a287145c2838aaef61c927fd5311fff643845ef.zip
ffmpeg-streaming-4a287145c2838aaef61c927fd5311fff643845ef.tar.gz
Remove avcodec_thread_execute from avcodec.h, and make static functions that
need it in *thread.c. Originally committed as revision 22544 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r--libavcodec/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index b642d3e..1628b21 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -104,7 +104,7 @@ void avcodec_thread_free(AVCodecContext *avctx)
av_freep(&avctx->thread_opaque);
}
-int avcodec_thread_execute(AVCodecContext *avctx, action_func* func, void *arg, int *ret, int job_count, int job_size)
+static int avcodec_thread_execute(AVCodecContext *avctx, action_func* func, void *arg, int *ret, int job_count, int job_size)
{
ThreadContext *c= avctx->thread_opaque;
int dummy_ret;
OpenPOWER on IntegriCloud