Remove duplicated code.

Review URL: http://webrtc-codereview.appspot.com/251001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@838 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
wu@webrtc.org 2011-10-28 17:29:44 +00:00
parent f960211f8b
commit 88e0a34815

View File

@ -965,12 +965,6 @@ bool ViECodecImpl::CodecValid(const VideoCodec& videoCodec)
"Invalid minBitrate: %u", videoCodec.minBitrate);
return false;
}
if (videoCodec.startBitrate < kViEMinCodecBitrate)
{
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideo, -1,
"Invalid minBitrate: %u", videoCodec.minBitrate);
return false;
}
if (videoCodec.numberOfSimulcastStreams == 1)
{
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideo, -1,