Skip to content

Commit

Permalink
Address #66
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Mar 12, 2024
1 parent 3544dc2 commit fbaef65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/LASzip/lasreadpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,10 @@ BOOL LASreadPoint::seek(const U32 current, const U32 target)
}
while (delta)
{
read(seek_point);
if (!read(seek_point))
{
return FALSE;
}
delta--;
}
}
Expand Down

0 comments on commit fbaef65

Please sign in to comment.