Commit c6035ea3 authored by Max Kellermann's avatar Max Kellermann

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().
parent 8a4970f8
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment