cffi-helper includes defcstruct*
ffmpeg-cffi uses of thread lock only to obtain mutex id, not to envelope entire mutex use