From 1c3d89c35ea711a2347ebdce65d7e3a0e870367e Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Fri, 13 Oct 2006 13:08:05 +0000 Subject: 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 --- apps/playback.c | 2 +- docs/CREDITS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/playback.c b/apps/playback.c index e0358cfbac..8ac669c172 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -2984,10 +2984,10 @@ static void audio_stop_playback(void) (playlist_end && ci.stop_codec)?NULL:audio_current_track()); } - playing = false; filling = false; paused = false; audio_stop_codec_flush(); + playing = false; if (current_fd >= 0) { diff --git a/docs/CREDITS b/docs/CREDITS index 7e3ee72a74..14dc1c4769 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -241,3 +241,4 @@ Thilo-Alexander Ginkel Adam Gashlin Robert Kukla David Quesada +Jared Stafford -- cgit v1.2.3