ffmpeg: thread safety