aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 63bb0f2f2..dad0456b3 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -147,8 +147,7 @@ need_chunks(struct input_stream *is, bool wait)
notify_wait(&dc.notify);
notify_signal(&pc.notify);
- if (dc.command != DECODE_COMMAND_STOP)
- return dc.command;
+ return dc.command;
}
return DECODE_COMMAND_NONE;