mux: Rust 1.86 compat + fmt

- m2ts_mux: replace u64::is_multiple_of (stable in 1.87+) with %.
  CI on the pinned 1.86 toolchain rejected the unstable feature use.
- mux/{fmp4,hevc,m2ts_mux}: rustfmt drift cleanup (test-code wrapping).
This commit is contained in:
MattJackson
2026-05-13 20:30:01 -07:00
parent 6ca62b8411
commit 52eeb949e3
3 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -356,7 +356,8 @@ mod tests {
let mut sink: Vec<u8> = Vec::new();
let mut mux = Fmp4Mux::new(&mut sink);
// Trigger init emission via a single (stubbed) write.
mux.write_video(0, true, &[0x00, 0x00, 0x00, 0x01, 0x40]).unwrap();
mux.write_video(0, true, &[0x00, 0x00, 0x00, 0x01, 0x40])
.unwrap();
mux.finish().unwrap();
drop(mux);