diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/decoder_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c index f8ed86047..ca8511c49 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -109,7 +109,7 @@ static void decoder_run(void) will be available then */ while (!input_stream.ready) { - if (dc.command != DECODE_COMMAND_NONE) { + if (dc.command == DECODE_COMMAND_STOP) { input_stream_close(&input_stream); dc.state = DECODE_STATE_STOP; return; |