mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user