1
0
Fork 0
forked from len0rd/rockbox

Fix race condition when playback stopped - see FS#6174. Thanks to Jared Stafford

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11214 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2006-10-13 13:08:05 +00:00
parent e627e35439
commit 1c3d89c35e
2 changed files with 2 additions and 1 deletions

View file

@ -2984,10 +2984,10 @@ static void audio_stop_playback(void)
(playlist_end && ci.stop_codec)?NULL:audio_current_track()); (playlist_end && ci.stop_codec)?NULL:audio_current_track());
} }
playing = false;
filling = false; filling = false;
paused = false; paused = false;
audio_stop_codec_flush(); audio_stop_codec_flush();
playing = false;
if (current_fd >= 0) if (current_fd >= 0)
{ {

View file

@ -241,3 +241,4 @@ Thilo-Alexander Ginkel
Adam Gashlin Adam Gashlin
Robert Kukla Robert Kukla
David Quesada David Quesada
Jared Stafford