add verification on return value
add video format support verification
format update
add checks for spsid and ppsid
Merge pull request #384 from licaiguo/check-spsid-ppsid

add checks for spsid and ppsid
Merge pull request #371 from ruil2/encode_ret

add verification on return value -- review request #128
Merge branch 'master' of https://github.com/cisco/openh264