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().
This commit is contained in:
Max Kellermann 2008-08-26 08:27:18 +02:00
parent 8a4970f863
commit c6035ea332

View File

@ -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();
}