fix crash 1027692
Merge pull request #994 from huili2/fix_sps_crash_with_ec

sps storage bug fix for error bitstream