summaryrefslogtreecommitdiff
path: root/hlsPlayer.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-03-27 09:32:27 +0100
committerchriszero <zerov83@gmail.com>2015-03-27 09:32:27 +0100
commitb3a59b06a977129bd773ff46f4fd66e0057fb9cd (patch)
tree25f7bcd960eb5a444982190002af6c56e436163f /hlsPlayer.cpp
parent5ffd91556f73336f91e1fc96da2af36e6e7e5660 (diff)
downloadvdr-plugin-plex-b3a59b06a977129bd773ff46f4fd66e0057fb9cd.tar.gz
vdr-plugin-plex-b3a59b06a977129bd773ff46f4fd66e0057fb9cd.tar.bz2
develop skindesigner support
Diffstat (limited to 'hlsPlayer.cpp')
-rw-r--r--hlsPlayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/hlsPlayer.cpp b/hlsPlayer.cpp
index ca1d91f..8d714d5 100644
--- a/hlsPlayer.cpp
+++ b/hlsPlayer.cpp
@@ -6,6 +6,7 @@
#include <Poco/Exception.h>
#include <pcrecpp.h>
+#include <algorithm>
#include "Plexservice.h"
#include "XmlObject.h"
@@ -210,7 +211,7 @@ int cHlsSegmentLoader::EstimateSegmentSize()
int len = m_indexParser.TargetDuration;
double estSize = (bandw) * len;
- estSize = max(estSize, 1.0);
+ estSize = std::max(estSize, 1.0);
// default
if(estSize <= 1) {
estSize = 32;