more tolerant of nal types (6 7 and 8)  for avc1, used in some file format.