Added openni return errors check and fixed positions of brackets
Merge branch 'master' of github.com:KirillLykov/oni2avi