Skip to main content

stap_a_contains_idr

Function stap_a_contains_idr 

Source
fn stap_a_contains_idr(payload: &[u8]) -> bool
Expand description

Scans a STAP-A payload for any contained IDR NAL unit.

each aggregate entry is length-prefixed and must use a single NAL unit type malformed lengths fail closed because the caller cannot safely trust later bytes as NAL boundaries