Index: media/audio/audio_parameters.cc |
diff --git a/media/audio/audio_parameters.cc b/media/audio/audio_parameters.cc |
index fff815610fe52629ef0b96d6ad5897c26126d01b..e6921606860e9ed2194140cbcca5aa96613eb467 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_HISTOGRAM_MAX) && |
(input_channels_ >= 0) && |
(input_channels_ <= media::limits::kMaxChannels) && |
(sample_rate_ >= media::limits::kMinSampleRate) && |