From c6035ea33256159fd27a1b2cb34878cfbdca0fca Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:18 +0200 Subject: don't reset dc->command in quitDecode() The decoder thread is responsible for resetting dc->command after a command was executed. As a consequence, we can assume that dc->command is already NONE after decoder_stop(). --- src/player_thread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/player_thread.c') diff --git a/src/player_thread.c b/src/player_thread.c index 52f0beac0..761e0fba0 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -35,7 +35,6 @@ static void quitDecode(void) { dc_stop(&pc.notify); pc.state = PLAYER_STATE_STOP; - dc.command = DECODE_COMMAND_NONE; pc.command = PLAYER_COMMAND_NONE; wakeup_main_task(); } -- cgit v1.2.3