aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decoder_thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 5a9d854e..7c6f649a 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -90,6 +90,7 @@ static void decoder_run(void)
ret = input_stream_buffer(&input_stream);
if (ret < 0) {
input_stream_close(&input_stream);
+ dc.error = DECODE_ERROR_FILE;
return;
}
}