fix char conversion

This commit is contained in:
TangoCash
2016-03-26 12:19:37 +01:00
parent e73708b71c
commit 944c27e51f
2 changed files with 2 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ void cPlayback::Close(void)
// start
bool cPlayback::Start(std::string filename, std::string headers)
{
Start(filename.c_str(),0,0,0,0,0);
Start((char *) filename.c_str(),0,0,0,0,0);
}
bool cPlayback::Start(char *filename, int /*vpid*/, int /*vtype*/, int /*apid*/, int /*ac3*/, int /*duration*/)

View File

@@ -54,7 +54,7 @@ void cPlayback::Close(void)
bool cPlayback::Start(std::string filename, std::string headers)
{
Start(filename.c_str(),0,0,0,0,0);
Start((char*) filename.c_str(),0,0,0,0,0);
}
bool cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, int)