| 117 | } |
| 118 | |
| 119 | static int avcodec_thread_execute2(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count){ |
| 120 | ThreadContext *c= s->thread_opaque; |
| 121 | int i; |
| 122 | for(i=0; i<s->thread_count; i++) |
| 123 | c[i].func2 = func; |
| 124 | avcodec_thread_execute(s, NULL, arg, ret, count, 0); |
| 125 | } |
| 126 | |
| 127 | int avcodec_thread_init(AVCodecContext *s, int thread_count){ |
| 128 | int i; |
nothing calls this directly
no test coverage detected