lavu: add wrappers for the pthreads mutex API
Also add no-op fallbacks when threading is disabled. This helps keeping the code clean if Libav is compiled for targets without threading. Since we assume that no threads of any kind are used in such configurations, doing nothing is ok by definition. Based on a patch by wm4 <nfxjfg@googlemail.com>.
Showing
libavutil/thread.h
0 → 100644
Please
register
or
sign in
to comment