aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 3fbbc9c8c..5c1c05f25 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -162,7 +162,7 @@ void decodeSeek(PlayerControl * pc, AudioFormat * af, DecoderControl * dc,
dc->seek = 1;
pc->bitRate = 0;
while(*decode_pid>0 && dc->seek) usleep(1000);
- if(dc->seekError) pc->elapsedTime = dc->seekWhere;
+ if(!dc->seekError) pc->elapsedTime = dc->seekWhere;
}
}
pc->seek = 0;