correct exit and exception in native thread
Merge branch 'master' of https://github.com/wagok/ffmpeglib