aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2013-07-11 00:14:36 +0100
committerpopcornmix <popcornmix@gmail.com>2013-07-13 17:25:18 +0100
commit8e7ed63e591a2b257edcd6df3acef8f3438d6a8e (patch)
tree5a6695d2e50324fac2361cf015ebb523ce2753b3
parentdde99fbd7a4abceb7598f3819db9e8af5be29544 (diff)
[rbp/omxplayer] Fix build error in types for max
It seems there is a compile error when STDINT_H_AVAILABLE is not defined. See: http://raspbmc.apt-get.eu/downloads/bin/xbmc/nightlies/xbmc-rbp-20130710.log
-rw-r--r--xbmc/cores/omxplayer/OMXAudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/omxplayer/OMXAudio.cpp b/xbmc/cores/omxplayer/OMXAudio.cpp
index 4ce7e44765..9b12497be1 100644
--- a/xbmc/cores/omxplayer/OMXAudio.cpp
+++ b/xbmc/cores/omxplayer/OMXAudio.cpp
@@ -451,7 +451,7 @@ bool COMXAudio::Initialize(AEAudioFormat format, std::string& device, OMXClock *
port_param.format.audio.eEncoding = m_eEncoding;
port_param.nBufferSize = m_ChunkLen;
- port_param.nBufferCountActual = std::max(port_param.nBufferCountMin, 6U);
+ port_param.nBufferCountActual = std::max((unsigned int)port_param.nBufferCountMin, 6U);
omx_err = m_omx_decoder.SetParameter(OMX_IndexParamPortDefinition, &port_param);
if(omx_err != OMX_ErrorNone)