Correctly bound search into segment indices.
The return value here assumed that the time being searched for was beyond the start time of the last segment. This fix also handles the case where the time is prior to the start of the first segment.
Showing
with
3 additions
and
2 deletions
Please
register
or
sign in
to comment