mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Fix crash in Windows debug runtime
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user