[Blindscan] Support zero4k.
[vuplus_dvbapp] / lib / base / rawfile.cpp
index d4c16d7..e32b262 100644 (file)
@@ -7,7 +7,7 @@
 DEFINE_REF(eRawFile);
 
 eRawFile::eRawFile()
-       :m_lock(true)
+       :m_lock(false)
 {
        m_fd = -1;
        m_file = 0;
@@ -251,3 +251,8 @@ off_t eRawFile::length()
 {
        return m_totallength;
 }
+
+off_t eRawFile::offset()
+{
+       return m_last_offset;
+}