| Index: webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc b/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc
|
| index 6b63f987f09207357f191e8ef0478a0d1380dcf1..0379613703ce57db617d70f56d22f6fb16c5af77 100644
|
| --- a/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc
|
| @@ -122,8 +122,8 @@ TEST(AudioDecoderFactoryTest, CreateOpus) {
|
| if (stereo != "XX") {
|
| params["stereo"] = stereo;
|
| }
|
| - bool good =
|
| - (hz == 48000 && channels == 2 && (stereo == "0" || stereo == "1"));
|
| + const bool good = (hz == 48000 && channels == 2 &&
|
| + (stereo == "XX" || stereo == "0" || stereo == "1"));
|
| EXPECT_EQ(good, static_cast<bool>(adf->MakeAudioDecoder(SdpAudioFormat(
|
| "opus", hz, channels, std::move(params)))));
|
| }
|
|
|