mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 00:51:13 +02:00
Fix crash in Windows debug runtime
This commit is contained in:
parent
1ce97b9d26
commit
1e7c51f1d4
@ -1202,7 +1202,7 @@ void Envelope::GetValuesRelative(double *buffer, int bufferLen,
|
||||
|
||||
double t = t0;
|
||||
double increment = 0;
|
||||
if ( len > 0 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )
|
||||
if ( len > 1 && t <= mEnv[0].GetT() && mEnv[0].GetT() == mEnv[1].GetT() )
|
||||
increment = epsilon;
|
||||
|
||||
double tprev, vprev, tnext = 0, vnext, vstep = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user