[vlc-devel] [PATCH 2/3] adaptive: BufferingLogic: Fix variable shadowing

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 19:44:07 CET 2020


---
 modules/demux/adaptive/logic/BufferingLogic.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/logic/BufferingLogic.cpp b/modules/demux/adaptive/logic/BufferingLogic.cpp
index 0fd79232cc..0622d94690 100644
--- a/modules/demux/adaptive/logic/BufferingLogic.cpp
+++ b/modules/demux/adaptive/logic/BufferingLogic.cpp
@@ -182,7 +182,7 @@ uint64_t DefaultBufferingLogic::getLiveStartSegmentNumber(BaseRepresentation *re
         if(playlist->timeShiftBufferDepth.Get())
         {
             stime_t edgetime;
-            bool b_ret = timeline->getScaledPlaybackTimeDurationBySegmentNumber(timeline->maxElementNumber(),
+            b_ret = timeline->getScaledPlaybackTimeDurationBySegmentNumber(timeline->maxElementNumber(),
                                                                                 &edgetime, &duration);
             if(unlikely(!b_ret))
                 return 0;
-- 
2.29.2



More information about the vlc-devel mailing list