From 3a84713aaa5a0f83cbb3fdca62c83df609822c9c Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Wed, 12 Nov 2008 17:47:23 +0000 Subject: Making it easier to send arbitrary structures as work orders to MT workers Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/os2thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/os2thread.c') diff --git a/libavcodec/os2thread.c b/libavcodec/os2thread.c index 583f255ea0..edebc9a6c8 100644 --- a/libavcodec/os2thread.c +++ b/libavcodec/os2thread.c @@ -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 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; @@ -92,7 +92,7 @@ int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, vo for(i=0; i