Skip to content
Snippets Groups Projects
Commit 6d90eba0 authored by Pierre Lamot's avatar Pierre Lamot Committed by Steve Lhomme
Browse files

demux: adaptive: fix language parsing

parent 38d17118
No related branches found
No related tags found
Loading
Pipeline #323062 passed with stages
in 37 minutes and 8 seconds
......@@ -93,7 +93,7 @@ const std::string & BaseAdaptationSet::getLang() const
void BaseAdaptationSet::setLang( const std::string &lang_ )
{
std::size_t pos = lang.find_first_of('-');
std::size_t pos = lang_.find_first_of('-');
if(pos != std::string::npos && pos > 0)
lang = lang_.substr(0, pos);
else if(lang_.size() < 4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment