[vlc-devel] [PATCH] adaptive: SegmentBase: remove unused lambda capture
Alexandre Janniaux
ajanni at videolabs.io
Wed Feb 10 10:50:25 UTC 2021
---
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();
});
--
2.30.1
More information about the vlc-devel
mailing list