Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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
  • Loading branch information...
commit 6c4593078b11043539d1ed9cf853b2eb378f6e4f 1 parent 60d1fd5
popcornmix popcornmix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/omxplayer/OMXAudio.cpp
2  xbmc/cores/omxplayer/OMXAudio.cpp
View
@@ -473,7 +473,7 @@ bool COMXAudio::Initialize(AEAudioFormat format, std::string& device, OMXClock *
return false;
}
- port_param.nBufferCountActual = std::max(port_param.nBufferCountMin, m_BufferLen / port_param.nBufferSize);
+ port_param.nBufferCountActual = std::max((unsigned int)port_param.nBufferCountMin, m_BufferLen / port_param.nBufferSize);
omx_err = m_omx_decoder.SetParameter(OMX_IndexParamPortDefinition, &port_param);
if(omx_err != OMX_ErrorNone)
Please sign in to comment.
Something went wrong with that request. Please try again.