[vlc-commits] adaptive: BufferingLogic: Fix variable shadowing

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 4 10:43:36 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec  3 10:15:58 2020 -0800| [0390f40ca7700c1b262333ef34733473608086ad] | committer: Hugo Beauzée-Luyssen

adaptive: BufferingLogic: Fix variable shadowing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0390f40ca7700c1b262333ef34733473608086ad
---

 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;



More information about the vlc-commits mailing list