[vlc-commits] demux: adaptive: remove UTC time_t
Francois Cartegnie
git at videolan.org
Thu Apr 2 16:34:12 CEST 2020
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 2 09:22:36 2020 +0200| [6897c01e6f4b32eb60c52b21905846c690b41927] | committer: Francois Cartegnie
demux: adaptive: remove UTC time_t
(cherry picked from commit 354e192b1845ad289a37cf4f6abb55c4d0f27fbf)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=6897c01e6f4b32eb60c52b21905846c690b41927
---
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 1deb3ef3ec..7a93c60ad2 100644
--- a/modules/demux/adaptive/tools/Conversions.cpp
+++ b/modules/demux/adaptive/tools/Conversions.cpp
@@ -169,11 +169,6 @@ UTCTime::UTCTime(const std::string &str)
}
}
-time_t UTCTime::time() const
-{
- return t / CLOCK_FREQ;
-}
-
mtime_t UTCTime::mtime() const
{
return t;
diff --git a/modules/demux/adaptive/tools/Conversions.hpp b/modules/demux/adaptive/tools/Conversions.hpp
index 07c6010916..c899cb16f5 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;
mtime_t mtime() const;
private:
More information about the vlc-commits
mailing list