summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaromil <jaromil@949728d9-16ea-0310-a75c-cbdf8430a4b8>2005-12-02 10:36:28 (GMT)
committer jaromil <jaromil@949728d9-16ea-0310-a75c-cbdf8430a4b8>2005-12-02 10:36:28 (GMT)
commit6551a91e9e559bb5bc42da70822e6bd44f923809 (patch)
tree8e349e4832969cf3aa563980c8f83c3a23cd959b
parent3157004b1390f73caf79e0d15bbd750cb36307e7 (diff)
small fix to return correct position after XMLRPC:SetPos
git-svn-id: svn://dyne.org/montevideo/ivysync@51 949728d9-16ea-0310-a75c-cbdf8430a4b8
-rw-r--r--decoder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder.cpp b/decoder.cpp
index f39f332..3bf7669 100644
--- a/decoder.cpp
+++ b/decoder.cpp
@@ -287,6 +287,7 @@ void Decoder::flush() {
if(newfilepos > 0L) {
D("seeking to new position %lu", newfilepos);
fseek(playlist_fd, newfilepos, SEEK_SET);
+ filepos = newfilepos;
newfilepos = 0;
}
}