diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-22 23:38:09 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-22 23:38:09 +0000 |
commit | 4b4438853c3ae05392964eadd8962cb50eae7987 (patch) | |
tree | e7380ab21de6f741de5422654e22d9c696a0c059 /src/decode.c | |
parent | 4a742801ab0315ad5628f7f6162b379bcf8e315b (diff) | |
download | mpd-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 'src/decode.c')
-rw-r--r-- | src/decode.c | 2 |
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; |