def _parse_unrecognized_segment(self, fptr):
msg = ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>msg = msg.format(marker_id=self._marker_id, offset=fptr.tell())<EOL>warnings.warn(msg, UserWarning)<EOL>cpos = fptr.tell()<EOL>read_buffer = fptr.read(<NUM_LIT:2>)<EOL>next_item, = struct.unpack('<STR_LIT>', read_buffer)<EOL>fptr.seek(cpos)<EOL>if ((next_item & <NUM_LIT>) >> <NUM_LIT:8>) == <NUM_LIT:255>:<EOL><INDENT>segment = Segment(id='<STR_LIT>'.format(self._marker_id),<EOL>offset=self._offset, length=<NUM_LIT:0>)<EOL><DEDENT>else:<EOL><INDENT>segment = self._parse_reserved_segment(fptr)<EOL><DEDENT>return segment<EOL>
Looks like a valid marker, but not sure from reading the specs.