Index: media/audio/audio_parameters.cc |
diff --git a/media/audio/audio_parameters.cc b/media/audio/audio_parameters.cc |
index fff815610fe52629ef0b96d6ad5897c26126d01b..62b825ff0e55de481a9346e6789350ac2c21028d 100644 |
--- a/media/audio/audio_parameters.cc |
+++ b/media/audio/audio_parameters.cc |
@@ -85,7 +85,7 @@ bool AudioParameters::IsValid() const { |
(channels_ > 0) && |
(channels_ <= media::limits::kMaxChannels) && |
(channel_layout_ > CHANNEL_LAYOUT_UNSUPPORTED) && |
- (channel_layout_ < CHANNEL_LAYOUT_MAX) && |
+ (channel_layout_ <= CHANNEL_LAYOUT_MAX) && |
(input_channels_ >= 0) && |
(input_channels_ <= media::limits::kMaxChannels) && |
(sample_rate_ >= media::limits::kMinSampleRate) && |