Index: webrtc/modules/audio_coding/test/TestVADDTX.cc |
diff --git a/webrtc/modules/audio_coding/test/TestVADDTX.cc b/webrtc/modules/audio_coding/test/TestVADDTX.cc |
index 541dfc3c4525cadb7d3a0b99b23beaf13a15bcb8..dd80fb31273d4f9ead071e2ed911e3d40e7d99e8 100644 |
--- a/webrtc/modules/audio_coding/test/TestVADDTX.cc |
+++ b/webrtc/modules/audio_coding/test/TestVADDTX.cc |
@@ -73,7 +73,8 @@ TestVadDtx::TestVadDtx() |
void TestVadDtx::RegisterCodec(CodecInst codec_param) { |
// Set the codec for sending and receiving. |
EXPECT_EQ(0, acm_send_->RegisterSendCodec(codec_param)); |
- EXPECT_EQ(0, acm_receive_->RegisterReceiveCodec(codec_param)); |
+ EXPECT_EQ(true, acm_receive_->RegisterReceiveCodec( |
+ codec_param.pltype, CodecInstToSdp(codec_param))); |
channel_->SetIsStereo(codec_param.channels > 1); |
} |