Skip to content

Commit 51704a9

Browse files
committed
Fix code blocks format
1 parent d613245 commit 51704a9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

app/avAudioPhaseMeter/avAudioPhaseMeter.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ std::vector<avtranscoder::InputStreamDesc> parseConfigFile(const std::string& co
2020
while(std::getline(configFile, line))
2121
{
2222
if(++countLines > 2)
23+
{
2324
throw std::runtime_error("Audio phase analysis can only be done on a stereo pair, i.e. two channels (see usage).");
25+
}
2426

2527
std::istringstream is_line(line);
2628
std::string filename;
@@ -36,7 +38,9 @@ std::vector<avtranscoder::InputStreamDesc> parseConfigFile(const std::string& co
3638
ss >> streamIndex;
3739
ss >> separator;
3840
if(separator == '.')
41+
{
3942
ss >> channelIndex;
43+
}
4044

4145
bool newInputDescAdded = false;
4246
// if we already have an input description with the same filename/streamIndex, add only the new channelIndex
@@ -49,8 +53,10 @@ std::vector<avtranscoder::InputStreamDesc> parseConfigFile(const std::string& co
4953
break;
5054
}
5155
}
52-
if(! newInputDescAdded)
56+
if(!newInputDescAdded)
57+
{
5358
result.push_back(avtranscoder::InputStreamDesc(filename, streamIndex, channelIndex));
59+
}
5460
}
5561
}
5662

@@ -83,7 +89,8 @@ int main(int argc, char** argv)
8389
avtranscoder::preloadCodecsAndFormats();
8490
avtranscoder::Logger::setLogLevel(AV_LOG_QUIET);
8591

86-
if(argc < 3) {
92+
if(argc < 3)
93+
{
8794
displayUsage(argv[0]);
8895
}
8996

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy