1
0
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:
martynshaw99 2011-08-29 23:01:28 +00:00
parent 99260bc21c
commit 2494a7aca9

View File

@ -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.