Patch by nshepperd, ticket #78. Segmentation fault in non-interactive mode.

This commit is contained in:
Pedro Lopez-Cabanillas 2010-05-04 10:21:54 +00:00
parent ae09187308
commit 6d3234279a

View file

@ -1489,7 +1489,7 @@ int fluid_player_join(fluid_player_t* player)
return fluid_timer_join(player->system_timer); return fluid_timer_join(player->system_timer);
} else if (player->sample_timer) { } else if (player->sample_timer) {
/* Busy-wait loop, since there's no thread to wait for... */ /* Busy-wait loop, since there's no thread to wait for... */
while (player->status == FLUID_PLAYER_PLAYING) { while (player->status != FLUID_PLAYER_DONE) {
#if defined(WIN32) #if defined(WIN32)
Sleep(10); Sleep(10);
#else #else