From 4b4438853c3ae05392964eadd8962cb50eae7987 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 22 Mar 2004 23:38:09 +0000 Subject: [PATCH] oops git-svn-id: https://svn.musicpd.org/mpd/trunk@408 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;