13
0

add missing NULL check

This commit is contained in:
Paul Davis 2019-11-18 13:06:16 -07:00
parent e52fd47049
commit 75cb57194e

View File

@ -782,7 +782,7 @@ DiskReader::refill (Sample* sum_buffer, Sample* mixdown_buffer, float* gain_buff
return -1;
}
if ((_session.transport_speed() < 0.0f) != rt_midibuffer()->reversed()) {
if (rt_midibuffer() && (_session.transport_speed() < 0.0f) != rt_midibuffer()->reversed()) {
rt_midibuffer()->reverse ();
}