[fuzz] video_packetizer_roundtrip: rustfmt

This commit is contained in:
2026-12-04 12:28:25 +01:00
parent 7a6afed575
commit 81ddf64bee
@@ -54,8 +54,9 @@ fuzz_target!(|data: &[u8]| {
first_sequence: u16::from_le_bytes([first, s0]), first_sequence: u16::from_le_bytes([first, s0]),
}; };
let mut tx = VideoPacketizer::new(config).expect("a valid configuration is accepted"); let mut tx = VideoPacketizer::new(config).expect("a valid configuration is accepted");
let mut rx = VideoDepacketizer::new(VideoConfig { packet_size, cipher: cipher(), frame_timeout: Duration::from_millis(20) }) let mut rx =
.expect("the receiver accepts the same packet size"); VideoDepacketizer::new(VideoConfig { packet_size, cipher: cipher(), frame_timeout: Duration::from_millis(20) })
.expect("the receiver accepts the same packet size");
let cut = body.len() * usize::from(split) / 255; let cut = body.len() * usize::from(split) / 255;
let (a, b) = body.split_at(cut); let (a, b) = body.split_at(cut);