Index: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
index 674a05c4cbce6e270424229b4ad2daa1f3b4ecf1..9f82e87b6599a8115829d13833129a6cef7bc236 100644 |
--- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
+++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
@@ -456,14 +456,9 @@ void RunTest(std::string out_path) { |
if (option_selection < option_index) { |
res = codec->GetCodec(option_selection, cinst); |
VALIDATE; |
- if (strcmp(cinst.plname, "red") == 0) { |
- printf("Enabling RED\n"); |
- res = rtp_rtcp->SetREDStatus(chan, true, cinst.pltype); |
- } else { |
- SetStereoIfOpus(opus_stereo, &cinst); |
- printf("Set primary codec\n"); |
- res = codec->SetSendCodec(chan, cinst); |
- } |
+ SetStereoIfOpus(opus_stereo, &cinst); |
+ printf("Set primary codec\n"); |
+ res = codec->SetSendCodec(chan, cinst); |
VALIDATE; |
} else if (option_selection == option_index++) { |
enable_cng = !enable_cng; |