mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 15:39:27 +02:00
Prevent a crash when mix-and-rendering an empty wave
This commit is contained in:
parent
99260bc21c
commit
2494a7aca9
@ -83,7 +83,7 @@ bool MixAndRender(TrackList *tracks, TrackFactory *trackFactory,
|
||||
* need to work out for ourselves when to start and stop rendering.
|
||||
*/
|
||||
|
||||
double mixStartTime; /* start time of first track to start */
|
||||
double mixStartTime = 0.0; /* start time of first track to start */
|
||||
bool gotstart = false; // flag indicates we have found a start time
|
||||
double mixEndTime = 0.0; /* end time of last track to end */
|
||||
double tstart, tend; // start and end times for one track.
|
||||
|
Loading…
x
Reference in New Issue
Block a user