Index: webrtc/media/base/codec.cc |
diff --git a/webrtc/media/base/codec.cc b/webrtc/media/base/codec.cc |
index 3570ef65271f11a502fb27097d70bbc034dc500d..6cb331a28bf03339ac1364a3ecc185653fe959af 100644 |
--- a/webrtc/media/base/codec.cc |
+++ b/webrtc/media/base/codec.cc |
@@ -315,11 +315,6 @@ bool VideoCodec::ValidateCodecFormat() const { |
} |
// Video validation from here on. |
- |
- if (width <= 0 || height <= 0) { |
- LOG(LS_ERROR) << "Codec with invalid dimensions: " << ToString(); |
- return false; |
- } |
int min_bitrate = -1; |
int max_bitrate = -1; |
if (GetParam(kCodecParamMinBitrate, &min_bitrate) && |