Skip to content
Snippets Groups Projects
Commit cea0dea9 authored by RoccoA97's avatar RoccoA97
Browse files

Bug in processor not allowing nOrbitsPerPacket > 1

parent 88f30d2b
No related branches found
No related tags found
1 merge request!98Reduce wait time for writing the EoR file
Pipeline #7161610 failed
......@@ -50,7 +50,7 @@ bool OrbitProcessor::CheckFrameMultBlock(size_t inputSize) const {
bool OrbitProcessor::HasTrailer(Slice &input, char *&rd_ptr) const {
rd_ptr +=
32 + 32 * static_cast<int>(dthHeaders) * nOrbitsPerPacket; // +32 to account for orbit header
32 + 32 * static_cast<int>(dthHeaders); // +32 to account for orbit header
while (rd_ptr + sizeof(orbit_trailer) - 1 <= input.end()) {
auto *ot = reinterpret_cast<orbit_trailer *>(rd_ptr);
if (ot->beefdead[0] == constants::beefdead) { // found orbit trailer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment