[vlc-commits] [Git][videolan/vlc][master] demux: adaptive: fix language parsing
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Mar 15 16:32:35 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
6d90eba0 by Pierre Lamot at 2023-03-15T16:17:44+00:00
demux: adaptive: fix language parsing
- - - - -
1 changed file:
- modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
Changes:
=====================================
modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
=====================================
@@ -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)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6d90eba09802335408154c56dec96e65b19c33e9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6d90eba09802335408154c56dec96e65b19c33e9
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list