aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 99c02db87..f0ba3b01f 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -180,10 +180,12 @@ void decoder_seek_error(struct decoder * decoder)
assert(dc->pipe != NULL);
- if (decoder->initial_seek_running)
+ if (decoder->initial_seek_running) {
/* d'oh, we can't seek to the sub-song start position,
what now? - no idea, ignoring the problem for now. */
+ decoder->initial_seek_running = false;
return;
+ }
assert(dc->command == DECODE_COMMAND_SEEK);