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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user