Fix potential crash in client

This commit is contained in:
Patrick Nicolas
2024-10-26 15:29:18 +02:00
parent 329a1905bf
commit e7876718bf
+1 -1
View File
@@ -311,7 +311,7 @@ std::vector<std::shared_ptr<shard_accumulator::blit_handle>> scenes::stream::com
decoders[i].latest_frames,
[&left](auto & right)
{
return left->feedback.frame_index == right->feedback.frame_index;
return right and left->feedback.frame_index == right->feedback.frame_index;
});
});
// clang-format on