[vlc-commits] demux: adaptive: remove UTC time_t

Francois Cartegnie git at videolan.org
Thu Apr 2 14:31:26 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr  2 09:22:36 2020 +0200| [354e192b1845ad289a37cf4f6abb55c4d0f27fbf] | committer: Francois Cartegnie

demux: adaptive: remove UTC time_t

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

 modules/demux/adaptive/tools/Conversions.cpp | 5 -----
 modules/demux/adaptive/tools/Conversions.hpp | 1 -
 2 files changed, 6 deletions(-)

diff --git a/modules/demux/adaptive/tools/Conversions.cpp b/modules/demux/adaptive/tools/Conversions.cpp
index 92b6b99ef7..f808c3822a 100644
--- a/modules/demux/adaptive/tools/Conversions.cpp
+++ b/modules/demux/adaptive/tools/Conversions.cpp
@@ -174,11 +174,6 @@ UTCTime::UTCTime(const std::string &str)
     }
 }
 
-time_t UTCTime::time() const
-{
-    return SEC_FROM_VLC_TICK(t);
-}
-
 vlc_tick_t UTCTime::mtime() const
 {
     return t;
diff --git a/modules/demux/adaptive/tools/Conversions.hpp b/modules/demux/adaptive/tools/Conversions.hpp
index 1d95cfdf4e..a22b17b4ec 100644
--- a/modules/demux/adaptive/tools/Conversions.hpp
+++ b/modules/demux/adaptive/tools/Conversions.hpp
@@ -38,7 +38,6 @@ class UTCTime
 {
     public:
         UTCTime(const std::string&);
-        time_t  time() const;
         vlc_tick_t mtime() const;
 
     private:



More information about the vlc-commits mailing list