Remove upper check for number of cores in VCM, I didn't find any good reasons for checking this.

BUG=2990
TEST=Manually adding a high number without any noticable change.
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/9399004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5645 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org 2014-03-05 15:18:45 +00:00
parent cf85f1cf3c
commit a0d11da359

View File

@ -160,7 +160,7 @@ bool VCMCodecDataBase::SetSendCodec(
if (max_payload_size <= 0) {
max_payload_size = kDefaultPayloadSize;
}
if (number_of_cores <= 0 || number_of_cores > 32) {
if (number_of_cores <= 0) {
return false;
}
if (send_codec->plType <= 0) {