add missing NULL check
This commit is contained in:
parent
e52fd47049
commit
75cb57194e
@ -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 ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user