[vlc-commits] demux:adaptive: fix the getMinAheadScaledTime definition to match the declaration

Steve Lhomme git at videolan.org
Tue Sep 18 14:08:15 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 11 15:37:55 2018 +0200| [db331736546555d6342db0bc34e628daba93d9f5] | committer: Steve Lhomme

demux:adaptive: fix the getMinAheadScaledTime definition to match the declaration

It does output an stime_t.

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

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

diff --git a/modules/demux/adaptive/playlist/SegmentTimeline.cpp b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
index eabc4e6fdc..2b64aafc20 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
@@ -62,7 +62,7 @@ void SegmentTimeline::addElement(uint64_t number, stime_t d, uint64_t r, stime_t
     }
 }
 
-vlc_tick_t SegmentTimeline::getMinAheadScaledTime(uint64_t number) const
+stime_t SegmentTimeline::getMinAheadScaledTime(uint64_t number) const
 {
     stime_t totalscaledtime = 0;
 



More information about the vlc-commits mailing list