[vlc-devel] [PATCH] adaptive: include <algorithm> for std::min
Steve Lhomme
robux4 at videolabs.io
Mon Jul 11 10:44:58 CEST 2016
---
modules/demux/adaptive/PlaylistManager.cpp | 1 +
modules/demux/adaptive/playlist/AbstractPlaylist.cpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/modules/demux/adaptive/PlaylistManager.cpp b/modules/demux/adaptive/PlaylistManager.cpp
index ef8375e..1b78e56 100644
--- a/modules/demux/adaptive/PlaylistManager.cpp
+++ b/modules/demux/adaptive/PlaylistManager.cpp
@@ -38,6 +38,7 @@
#include <vlc_demux.h>
#include <vlc_threads.h>
+#include <algorithm>
#include <ctime>
using namespace adaptive::http;
diff --git a/modules/demux/adaptive/playlist/AbstractPlaylist.cpp b/modules/demux/adaptive/playlist/AbstractPlaylist.cpp
index c3bbf1d..fb2b7da 100644
--- a/modules/demux/adaptive/playlist/AbstractPlaylist.cpp
+++ b/modules/demux/adaptive/playlist/AbstractPlaylist.cpp
@@ -29,6 +29,8 @@
#include <vlc_common.h>
#include <vlc_stream.h>
+#include <algorithm>
+
using namespace adaptive::playlist;
AbstractPlaylist::AbstractPlaylist (vlc_object_t *p_object_) :
--
2.8.2
More information about the vlc-devel
mailing list