commit | 1fd4a4ab35f1fcb08b551befca180de9a1f55dfc | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Tue Nov 03 11:20:50 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 03 19:20:57 2015 +0000 |
tree | 3ce28bbd230177f148a8066ff115e89768fa055f | |
parent | 969aeb1910573764f6860d3ed733549e733df78f [diff] [blame] |
Let AudioCodingModule::SendCodec return Maybe<CodecInst> And deal with the consequences thereof... Review URL: https://codereview.webrtc.org/1406123011 Cr-Commit-Position: refs/heads/master@{#10497}
diff --git a/webrtc/modules/audio_coding/main/test/PacketLossTest.cc b/webrtc/modules/audio_coding/main/test/PacketLossTest.cc index f19d491..f7c96fa 100644 --- a/webrtc/modules/audio_coding/main/test/PacketLossTest.cc +++ b/webrtc/modules/audio_coding/main/test/PacketLossTest.cc
@@ -143,8 +143,7 @@ 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();