[domistream] WIP: rustfmt, doc link, clippy fixes (one collapsible-if left in rtsp/mod.rs), PROTOCOL.md status
Paused at Mark's request.
This commit is contained in:
@@ -286,10 +286,7 @@ impl VideoDepacketizer {
|
||||
}
|
||||
block.shards.insert(fec.shard_index, p.payload.to_vec());
|
||||
let complete = (0..=usize::from(f.last_block)).all(|b| {
|
||||
f.blocks
|
||||
.get(b)
|
||||
.and_then(Option::as_ref)
|
||||
.is_some_and(|blk| blk.shards.len() >= usize::from(blk.data_shards))
|
||||
f.blocks.get(b).and_then(Option::as_ref).is_some_and(|blk| blk.shards.len() >= usize::from(blk.data_shards))
|
||||
});
|
||||
if complete {
|
||||
match assemble(f, frame, payload_len, now) {
|
||||
|
||||
Reference in New Issue
Block a user