aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 5a9d854e8..7c6f649a3 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;
}
}