| Index: webrtc/modules/audio_coding/test/TestRedFec.cc
|
| diff --git a/webrtc/modules/audio_coding/test/TestRedFec.cc b/webrtc/modules/audio_coding/test/TestRedFec.cc
|
| index 4e8b123b78b375b8fd55aa7a6019b8bef0893881..7c252a13d9c31e58e320f559a591ad41fd0df7de 100644
|
| --- a/webrtc/modules/audio_coding/test/TestRedFec.cc
|
| +++ b/webrtc/modules/audio_coding/test/TestRedFec.cc
|
| @@ -13,6 +13,7 @@
|
| #include <assert.h>
|
|
|
| #include "webrtc/common_types.h"
|
| +#include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h"
|
| #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
|
| #include "webrtc/modules/audio_coding/test/utility.h"
|
| #include "webrtc/system_wrappers/include/trace.h"
|
| @@ -77,7 +78,8 @@ void TestRedFec::Perform() {
|
| if (!strcmp(myCodecParam.plname, "opus")) {
|
| myCodecParam.channels = 1;
|
| }
|
| - EXPECT_EQ(0, _acmB->RegisterReceiveCodec(myCodecParam));
|
| + EXPECT_EQ(true, _acmB->RegisterReceiveCodec(myCodecParam.pltype,
|
| + CodecInstToSdp(myCodecParam)));
|
| }
|
|
|
| // Create and connect the channel
|
|
|