Skip to main content

split_annexb

Function split_annexb 

Source
pub fn split_annexb(data: &[u8]) -> Vec<&[u8]>
Expand description

Split an Annex-B elementary stream into NAL payloads (start codes removed, emulation prevention bytes kept — the RBSP layer is only unescaped where a parser needs it).