Index: webrtc/modules/audio_coding/main/test/PacketLossTest.cc |
diff --git a/webrtc/modules/audio_coding/main/test/PacketLossTest.cc b/webrtc/modules/audio_coding/main/test/PacketLossTest.cc |
index f19d491d2dadde4bd5f5ea90c9156d053f1bb196..f7c96faacd691e994e2768f1eb5c0a6cee501583 100644 |
--- a/webrtc/modules/audio_coding/main/test/PacketLossTest.cc |
+++ b/webrtc/modules/audio_coding/main/test/PacketLossTest.cc |
@@ -143,8 +143,7 @@ void PacketLossTest::Perform() { |
sender_->Setup(acm.get(), &rtpFile, in_file_name_, sample_rate_hz_, channels_, |
expected_loss_rate_); |
- struct CodecInst sendCodecInst; |
- if (acm->SendCodec(&sendCodecInst) >= 0) { |
+ if (acm->SendCodec()) { |
sender_->Run(); |
} |
sender_->Teardown(); |