Skip to content

Commit 408a47e

Browse files
committed
Remove warnings
1 parent cf23450 commit 408a47e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

OMXAudio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ float COMXAudio::GetDelay()
11281128
else // just measure the input fifo
11291129
{
11301130
unsigned int used = m_omx_decoder.GetInputBufferSize() - m_omx_decoder.GetInputBufferSpace();
1131-
float ret = m_InputBytesPerSec ? (float)used / (float)m_InputBytesPerSec : 0.0f;
1131+
ret = m_InputBytesPerSec ? (float)used / (float)m_InputBytesPerSec : 0.0f;
11321132
//CLog::Log(LOGINFO, "%s::%s - %.2f %d, %d, %d", CLASSNAME, __func__, ret, used, m_omx_decoder.GetInputBufferSize(), m_omx_decoder.GetInputBufferSpace());
11331133
}
11341134
return ret;

OMXClock.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,6 @@ static int64_t CurrentHostCounter(void)
568568
return( ((int64_t)now.tv_sec * 1000000000L) + now.tv_nsec );
569569
}
570570

571-
static int64_t CurrentHostFrequency(void)
572-
{
573-
return( (int64_t)1000000000L );
574-
}
575-
576571
int64_t OMXClock::GetAbsoluteClock()
577572
{
578573
return CurrentHostCounter()/1000;

0 commit comments

Comments
 (0)