Mercurial > libavcodec.hg
comparison w32thread.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 | fe7a77f77927 |
children |
comparison
equal
deleted
inserted
replaced
11491:63837bcce840 | 11492:7bfe7456e372 |
---|---|
91 if(c[0].done_sem) CloseHandle(c[0].done_sem); | 91 if(c[0].done_sem) CloseHandle(c[0].done_sem); |
92 | 92 |
93 av_freep(&s->thread_opaque); | 93 av_freep(&s->thread_opaque); |
94 } | 94 } |
95 | 95 |
96 int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size){ | 96 static int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size){ |
97 ThreadContext *c= s->thread_opaque; | 97 ThreadContext *c= s->thread_opaque; |
98 int i; | 98 int i; |
99 int jobnr = 0; | 99 int jobnr = 0; |
100 | 100 |
101 assert(s == c->avctx); | 101 assert(s == c->avctx); |