fixed invalid cast of an rvalue by adding a string constructor to class eServiceRefer...
[enigma2.git] / lib / dvb / metaparser.cpp
index 5c09815..abc4456 100644 (file)
@@ -12,6 +12,8 @@ int eDVBMetaParser::parseFile(const std::string &tsname)
 
        int linecnt = 0;
        
+       m_time_create = 0;
+       
        while (1)
        {
                char line[1024];
@@ -26,7 +28,7 @@ int eDVBMetaParser::parseFile(const std::string &tsname)
                switch (linecnt)
                {
                case 0:
-                       m_ref = (const eServiceReferenceDVB&)eServiceReference(line);
+                       m_ref = eServiceReferenceDVB(line);
                        break;
                case 1:
                        m_name = line;