diff --git a/src/iptvsimple/Epg.cpp b/src/iptvsimple/Epg.cpp index 9ac6286b..91517957 100644 --- a/src/iptvsimple/Epg.cpp +++ b/src/iptvsimple/Epg.cpp @@ -226,19 +226,22 @@ const XmltvFileFormat Epg::GetXMLTVFileFormat(const char* buffer) if (!buffer) return XmltvFileFormat::INVALID; - // xml should starts with ' + (buffer[0] != '\x3C' && buffer[1] != '\x3F' && buffer[2] != '\x78' && // xml should starts with '