gui/movieplayer.cpp: increase buffer to read m3u contents

Origin commit data
------------------
Branch: ni/coolstream
Commit: fe99c5fdda
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-18 (Mon, 18 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-03-18 16:49:42 +04:00
parent 7dda836636
commit 335bd1353c

View File

@@ -358,12 +358,12 @@ bool CMoviePlayerGui::SelectFile()
ret = true;
if(file->getType() == CFile::FILE_PLAYLIST) {
std::ifstream infile;
char cLine[256];
char name[255] = { 0 };
char cLine[1024];
char name[1024] = { 0 };
infile.open(file->Name.c_str(), std::ifstream::in);
while (infile.good())
{
infile.getline(cLine, 255);
infile.getline(cLine, sizeof(cLine));
if (cLine[strlen(cLine)-1]=='\r')
cLine[strlen(cLine)-1]=0;