Fix enumeral comparison error.
TBR=henrike BUG= TEST=build on Linux. Review URL: https://webrtc-codereview.appspot.com/372007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1553 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
b9d7d934de
commit
42ae41e5a2
@ -556,10 +556,11 @@ WebRtc_Word32 AudioConferenceMixerImpl::SetMixabilityStatus(
|
||||
return -1;
|
||||
}
|
||||
|
||||
const int numMixedNonAnonymous = (_participantList.GetSize() <
|
||||
kMaximumAmountOfMixedParticipants) ? _participantList.GetSize() :
|
||||
kMaximumAmountOfMixedParticipants;
|
||||
|
||||
int numMixedNonAnonymous = _participantList.GetSize();
|
||||
if (numMixedNonAnonymous > kMaximumAmountOfMixedParticipants)
|
||||
{
|
||||
numMixedNonAnonymous = kMaximumAmountOfMixedParticipants;
|
||||
}
|
||||
numMixedParticipants = numMixedNonAnonymous +
|
||||
_additionalParticipantList.GetSize();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user