Skip to main content

parse_sequence_header

Function parse_sequence_header 

Source
pub fn parse_sequence_header(
    bytes: &[u8],
) -> Result<Mpeg2SequenceHeader, BitstreamError>
Expand description

Parse a sequence header. bytes is the buffer starting after the 00 00 01 B3 start code (i.e. at the first payload byte).