Mercurial > libavcodec.hg
comparison pthread.c @ 11405:8de15f200be8 libavcodec
Make avcodec_thread_execute2() static
| author | andoma |
|---|---|
| date | Mon, 08 Mar 2010 12:55:54 +0000 |
| parents | d7ef6611a49e |
| children | 7bfe7456e372 |
comparison
equal
deleted
inserted
replaced
| 11404:a744eb5328b2 | 11405:8de15f200be8 |
|---|---|
| 131 avcodec_thread_park_workers(c, avctx->thread_count); | 131 avcodec_thread_park_workers(c, avctx->thread_count); |
| 132 | 132 |
| 133 return 0; | 133 return 0; |
| 134 } | 134 } |
| 135 | 135 |
| 136 int avcodec_thread_execute2(AVCodecContext *avctx, action_func2* func2, void *arg, int *ret, int job_count) | 136 static int avcodec_thread_execute2(AVCodecContext *avctx, action_func2* func2, void *arg, int *ret, int job_count) |
| 137 { | 137 { |
| 138 ThreadContext *c= avctx->thread_opaque; | 138 ThreadContext *c= avctx->thread_opaque; |
| 139 c->func2 = func2; | 139 c->func2 = func2; |
| 140 return avcodec_thread_execute(avctx, NULL, arg, ret, job_count, 0); | 140 return avcodec_thread_execute(avctx, NULL, arg, ret, job_count, 0); |
| 141 } | 141 } |
