add robustness to PES parsing
fix https://github.com/mangui/HLSprovider/issues/67