Fix crash for invalid mpeg header.
Merge pull request #2089 from oioitff/mpeg-fix

Fix crash for invalid mpeg header.