1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Fix infinite loop in ALSA player when playing zero-length audio

Updates #1394.

Originally committed to SVN as r6339.
This commit is contained in:
Thomas Goyne 2012-01-22 18:18:07 +00:00
parent e026d2a60a
commit c8099decf3

View File

@ -201,6 +201,8 @@ do_setup:
if (ps.signal_start == false || ps.end_position <= ps.start_position)
{
printf("alsa_player: nothing to play, rewaiting\n");
ps.signal_start = false;
continue;
}