Skip to content

Commit 499097a

Browse files
author
Clement Champetier
committed
FileProperties: fix message log when cannot getStreamPropertiesWithIndex
The local variable should not be called "os" when logging.
1 parent bc67a2f commit 499097a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AvTranscoder/properties/FileProperties.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ const avtranscoder::StreamProperties& FileProperties::getStreamPropertiesWithInd
228228
avtranscoder::StreamProperties* properties = _streamsProperties.find(streamIndex)->second;
229229
if(properties)
230230
return *properties;
231-
std::stringstream os;
232-
os << "No stream properties correspond to stream at index ";
233-
os << streamIndex;
234-
throw std::runtime_error(os.str());
231+
std::stringstream msg;
232+
msg << "No stream properties correspond to stream at index ";
233+
msg << streamIndex;
234+
throw std::runtime_error(msg.str());
235235
}
236236

237237
const std::vector<avtranscoder::StreamProperties*> FileProperties::getStreamProperties() const

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