[fuzz] video_packetizer_roundtrip: rustfmt
This commit is contained in:
@@ -54,7 +54,8 @@ 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 =
|
||||||
|
VideoDepacketizer::new(VideoConfig { packet_size, cipher: cipher(), frame_timeout: Duration::from_millis(20) })
|
||||||
.expect("the receiver accepts the same packet size");
|
.expect("the receiver accepts the same packet size");
|
||||||
|
|
||||||
let cut = body.len() * usize::from(split) / 255;
|
let cut = body.len() * usize::from(split) / 255;
|
||||||
|
|||||||
Reference in New Issue
Block a user