Removing compiler warnings from video components

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@336 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@google.com
2011-08-09 17:17:39 +00:00
parent d15afa86c2
commit 5ce0ff05ae
2 changed files with 1 additions and 14 deletions

View File

@@ -194,10 +194,6 @@ VP8Encoder::InitEncode(const VideoCodec* inst,
{
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
}
if (inst->startBitrate < 0 || inst->maxBitrate < 0)
{
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
}
// allow zero to represent an unspecified maxBitRate
if (inst->maxBitrate > 0 && inst->startBitrate > inst->maxBitrate)
{