Mercurial > libavcodec.hg
diff os2thread.c @ 11492:7bfe7456e372 libavcodec
Remove avcodec_thread_execute from avcodec.h, and make static functions that
need it in *thread.c.
author | benoit |
---|---|
date | Mon, 15 Mar 2010 14:03:01 +0000 |
parents | d7ef6611a49e |
children |
line wrap: on
line diff
--- a/os2thread.c Sun Mar 14 23:52:45 2010 +0000 +++ b/os2thread.c Mon Mar 15 14:03:01 2010 +0000 @@ -39,7 +39,7 @@ }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 @@ 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;