Skip to main content

parse_adts

Function parse_adts 

Source
pub fn parse_adts(data: &[u8]) -> Option<AdtsHeader>
Available on crate features codec-aac and codec only.
Expand description

Parse the ADTS header at the start of data. Returns None if the syncword is absent or the buffer is too short.