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