modify decoder API to up-to-date
Merge pull request #664 from huili2/modify_api_comments

modify decoder API to up-to-date