We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6d03f commit c18072cCopy full SHA for c18072c
src/AvTranscoder/transcoder/Transcoder.cpp
@@ -38,10 +38,10 @@ Transcoder::~Transcoder()
38
void Transcoder::addStream(const InputStreamDesc& inputStreamDesc, const std::string& profileName, const float offset)
39
{
40
// Check filename
41
- if(inputStreamDesc._filename.length() == 0)
+ if(inputStreamDesc._filename.empty())
42
throw std::runtime_error("Can't process a stream without a filename indicated.");
43
44
- if(profileName.length() == 0)
+ if(profileName.empty())
45
46
// Re-wrap
47
if(!inputStreamDesc.demultiplexing())
0 commit comments