Don't spin in an infinite loop if the decoder tries to find a data record and

the matcher fails to find anything, leaving the seek point unchanged.
This commit is contained in:
David Given
2021-12-10 19:56:00 +00:00
parent 2584a25527
commit 3d1ee7a43e
4 changed files with 11 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ std::unique_ptr<TrackDataFlux> AbstractDecoder::decodeToSectors(
break;
if (fmr.eof())
break;
fmr.skipToEvent(F_BIT_PULSE);
}
recordStart = fmr.tell();
if (r == DATA_RECORD)