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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits