Fixed: read up to 4095 chars per line from a strm/m3u file (and use the full buffer)
authorBas Rieter <basrieter@gmail.com>
Tue, 19 Nov 2013 12:29:44 +0000 (13:29 +0100)
committerBas Rieter <basrieter@gmail.com>
Sat, 23 Nov 2013 18:45:43 +0000 (19:45 +0100)
xbmc/playlists/PlayListM3U.cpp

index ad37918..3b11efd 100644 (file)
@@ -86,7 +86,7 @@ bool CPlayListM3U::Load(const CStdString& strFileName)
     return false;
   }
 
-  while (file.ReadString(szLine, 1024))
+  while (file.ReadString(szLine, 4095))
   {
     strLine = szLine;
     StringUtils::Trim(strLine);