[vlc-commits] adaptive: SegmentBase: remove unused lambda capture
Alexandre Janniaux
git at videolan.org
Mon Feb 15 15:06:03 UTC 2021
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Wed Feb 10 11:50:25 2021 +0100| [1c6c7f23b236f7daedd6473d966dc9cfbf92e41d] | committer: Alexandre Janniaux
adaptive: SegmentBase: remove unused lambda capture
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c6c7f23b236f7daedd6473d966dc9cfbf92e41d
---
modules/demux/adaptive/playlist/SegmentBase.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/playlist/SegmentBase.cpp b/modules/demux/adaptive/playlist/SegmentBase.cpp
index 43bb91fb06..d4dc8630ea 100644
--- a/modules/demux/adaptive/playlist/SegmentBase.cpp
+++ b/modules/demux/adaptive/playlist/SegmentBase.cpp
@@ -54,7 +54,7 @@ vlc_tick_t SegmentBase::getMinAheadTime(uint64_t curnum) const
stime_t minTime = 0;
std::for_each(subsegments.cbegin() + curnum + 1, subsegments.cend(),
- [&minTime,timescale](const Segment * seg){
+ [&minTime](const Segment * seg){
minTime += seg->duration.Get();
});
More information about the vlc-commits
mailing list