refine checks in ParseSps
finish syntax checks in ParseSps
update according to review comments
Merge pull request #335 from licaiguo/decoder-syntax-checks

Decoder syntax checks