remove another instance of std::numeric_limits<timecnt_t>::max()
This commit is contained in:
parent
d7fdec2ef5
commit
a72108636b
@ -344,7 +344,7 @@ SMFSource::write_unlocked (const Lock& lock,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((cnt != std::numeric_limits<timecnt_t>::max()) &&
|
if ((cnt != timecnt_t::max (cnt.time_domain())) &&
|
||||||
(time > pos_samples + _capture_length + cnt_samples)) {
|
(time > pos_samples + _capture_length + cnt_samples)) {
|
||||||
/* The diskstream doesn't want us to write everything, and this
|
/* The diskstream doesn't want us to write everything, and this
|
||||||
event is past the end of this block, so we're done for now. */
|
event is past the end of this block, so we're done for now. */
|
||||||
|
Loading…
Reference in New Issue
Block a user