Fix warnings on Ubuntu 11.04 (gcc 4.5)

http://code.google.com/p/webrtc/issues/detail?id=63
Review URL: http://webrtc-codereview.appspot.com/125004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@439 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2011-08-24 20:35:35 +00:00
parent 37fd004c69
commit 4f390000dd
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ WebRtc_Word16 WebRtcNetEQ_CalcOptimalBufLvl(AutomodeInst_t *inst, WebRtc_Word32
(WebRtc_Word16) WEBRTC_SPL_MIN(timeIatPkts, WEBRTC_SPL_WORD16_MAX);
/* increment peakIndex and wrap/modulo */
inst->peakIndex = ++inst->peakIndex & PEAK_INDEX_MASK;
inst->peakIndex = (inst->peakIndex + 1) & PEAK_INDEX_MASK;
/* process peak vectors */
inst->curPeakHeight = 0;

View File

@ -1463,7 +1463,7 @@ RTPSender::RED(WebRtc_Word8& payloadType) const
{
if(!_audioConfigured)
{
return 0;
return -1;
}
return _audio->RED(payloadType);
}