aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-22 23:38:09 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-22 23:38:09 +0000
commit4b4438853c3ae05392964eadd8962cb50eae7987 (patch)
treee7380ab21de6f741de5422654e22d9c696a0c059
parent4a742801ab0315ad5628f7f6162b379bcf8e315b (diff)
downloadmpd-4b4438853c3ae05392964eadd8962cb50eae7987.tar.gz
mpd-4b4438853c3ae05392964eadd8962cb50eae7987.tar.xz
mpd-4b4438853c3ae05392964eadd8962cb50eae7987.zip
oops
git-svn-id: https://svn.musicpd.org/mpd/trunk@408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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;