aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotspiff <spiff@kodi.tv>2018-02-06 12:52:41 +0100
committernotspiff <spiff@kodi.tv>2018-02-06 12:54:39 +0100
commit91299624c3ac6ab683aaf30e3596423b1995e248 (patch)
treea3ff227fc84e30c1fa7e6d2190102489ab2a0672
parent3316cd1adbbbd68b962558c635723f8259e19c9f (diff)
fixed: return actual position for seek in file cache
start of buffer is irrelevant
-rw-r--r--xbmc/filesystem/FileCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/filesystem/FileCache.cpp b/xbmc/filesystem/FileCache.cpp
index 64850aca39..9516b91558 100644
--- a/xbmc/filesystem/FileCache.cpp
+++ b/xbmc/filesystem/FileCache.cpp
@@ -534,7 +534,7 @@ int64_t CFileCache::Seek(int64_t iFilePosition, int iWhence)
else
m_readPos = iTarget;
- return m_nSeekResult;
+ return iTarget;
}
void CFileCache::Close()