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/EncodeDecodeTest.cc b/webrtc/modules/audio_coding/main/test/EncodeDecodeTest.cc index d062af0..d68e575 100644 --- a/webrtc/modules/audio_coding/main/test/EncodeDecodeTest.cc +++ b/webrtc/modules/audio_coding/main/test/EncodeDecodeTest.cc
@@ -339,8 +339,7 @@ _sender.codeId = codeId; _sender.Setup(acm.get(), &rtpFile, "audio_coding/testfile32kHz", 32000, 1); - struct CodecInst sendCodecInst; - if (acm->SendCodec(&sendCodecInst) >= 0) { + if (acm->SendCodec()) { _sender.Run(); } _sender.Teardown();