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:
parent
f960211f8b
commit
88e0a34815
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user