diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2010-03-15 14:03:01 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2010-03-15 14:03:01 +0000 |
commit | 4a287145c2838aaef61c927fd5311fff643845ef (patch) | |
tree | 48ac8f2c2fda70a98e45ca9ae1819c057ce5f7e5 /libavcodec/os2thread.c | |
parent | b1d55e5e4f9090a67de552e9829208b500d0b1c3 (diff) |
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/os2thread.c')
-rw-r--r-- | libavcodec/os2thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/os2thread.c b/libavcodec/os2thread.c index 76dc0d56bc..3d1367c8f4 100644 --- a/libavcodec/os2thread.c +++ b/libavcodec/os2thread.c @@ -39,7 +39,7 @@ typedef struct ThreadContext{ }ThreadContext; -void attribute_align_arg thread_func(void *v){ +static void attribute_align_arg thread_func(void *v){ ThreadContext *c= v; for(;;){ @@ -81,7 +81,7 @@ void avcodec_thread_free(AVCodecContext *s){ av_freep(&s->thread_opaque); } -int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size){ +static int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size){ ThreadContext *c= s->thread_opaque; int i; |