diff --git a/src/mux/codec/hevc.rs b/src/mux/codec/hevc.rs index cecd71da..03ab618f 100644 --- a/src/mux/codec/hevc.rs +++ b/src/mux/codec/hevc.rs @@ -385,7 +385,7 @@ fn push_length_prefixed(out: &mut Vec, nal: &[u8]) { out.extend_from_slice(nal); } -/// Walk a length-prefixed NAL buffer ([u32-BE len][body] records) and confirm the +/// Walk a length-prefixed NAL buffer (`[u32-BE len][body]` records) and confirm the /// records EXACTLY tile it: every declared length fits, none is zero, and the last /// body ends precisely at the buffer end with no trailing bytes. Our `frame_data` /// is length-prefixed by construction, so this is a self-consistency guard — a