Index: webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
diff --git a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
index ca0a240aec05956b5a76c2a5f68da53260f93d9b..32b498045acdb54c92ba2156541b320b5f37b648 100644 |
--- a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
+++ b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
@@ -94,7 +94,8 @@ class InsertPacketWithTiming { |
FLAGS_codec_channels)); |
ASSERT_EQ(0, receive_acm_->InitializeReceiver()); |
ASSERT_EQ(0, send_acm_->RegisterSendCodec(codec)); |
- ASSERT_EQ(0, receive_acm_->RegisterReceiveCodec(codec)); |
+ ASSERT_EQ(true, receive_acm_->RegisterReceiveCodec(codec.pltype, |
+ CodecInstToSdp(codec))); |
// Set codec-dependent parameters. |
samples_in_1ms_ = codec.plfreq / 1000; |