Rollback of r6108
BUG=N/A R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17469004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6109 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -198,8 +198,8 @@ bool VideoCodec::ValidateCodecFormat() const {
|
|||||||
LOG(LS_ERROR) << "Codec with invalid dimensions: " << ToString();
|
LOG(LS_ERROR) << "Codec with invalid dimensions: " << ToString();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int min_bitrate = -1;
|
int min_bitrate;
|
||||||
int max_bitrate = -1;
|
int max_bitrate;
|
||||||
if (GetParam(kCodecParamMinBitrate, &min_bitrate) &&
|
if (GetParam(kCodecParamMinBitrate, &min_bitrate) &&
|
||||||
GetParam(kCodecParamMaxBitrate, &max_bitrate)) {
|
GetParam(kCodecParamMaxBitrate, &max_bitrate)) {
|
||||||
if (max_bitrate < min_bitrate) {
|
if (max_bitrate < min_bitrate) {
|
||||||
|
Reference in New Issue
Block a user