mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
Merge branch 'master' into pu/mp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7ad4a0e6cc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-10-02 (Mon, 02 Oct 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -72,7 +72,7 @@ CBaseDec::RetCode CBaseDec::DecoderBase(CAudiofile* const in,
|
||||
RetCode Status = OK;
|
||||
FILE* fp;
|
||||
|
||||
if(( in->FileType == CFile::STREAM_AUDIO ) && (in->Filename.find(".flv") != string::npos))
|
||||
if ((in->FileType == CFile::STREAM_AUDIO) && (in->Filename.find(".flv") != std::string::npos))
|
||||
{
|
||||
fp = fopen( in->Filename.c_str(), "rc" );
|
||||
}
|
||||
|
@@ -55,7 +55,7 @@ CMovieInfo::~CMovieInfo()
|
||||
bool CMovieInfo::convertTs2XmlName(std::string& filename)
|
||||
{
|
||||
size_t lastdot = filename.find_last_of(".");
|
||||
if (lastdot != string::npos) {
|
||||
if (lastdot != std::string::npos) {
|
||||
filename.erase(lastdot + 1);
|
||||
filename.append("xml");
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user