[vlc-commits] [Git][videolan/vlc][master] demux: adaptive: fix unitialized var
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Nov 17 11:00:55 UTC 2022
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
329cff0a by Francois Cartegnie at 2022-11-17T10:14:18+00:00
demux: adaptive: fix unitialized var
- - - - -
1 changed file:
- modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp
Changes:
=====================================
modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp
=====================================
@@ -67,7 +67,7 @@ NearOptimalAdaptationLogic::getNextQualityIndex( BaseAdaptationSet *adaptSet, Re
{
BaseRepresentation *ret = nullptr;
BaseRepresentation *prev = nullptr;
- float argmax;
+ float argmax = 0;
for(BaseRepresentation *rep = selector.lowest(adaptSet);
rep && rep != prev; rep = selector.higher(adaptSet, rep))
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/329cff0aeb9c75f46c57743e670273cf604d11c3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/329cff0aeb9c75f46c57743e670273cf604d11c3
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