Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc |
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc |
index 36456f125e6d4ce064e45b4f6857d39ed4d0a028..5fd940dbcc297d42f2a090c798438cae01630daa 100644 |
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc |
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc |
@@ -241,7 +241,7 @@ TEST_F(RtpRtcpAudioTest, RED) { |
EXPECT_EQ(0, module1->SetSendREDPayloadType(voice_codec.pltype)); |
int8_t red = 0; |
- EXPECT_EQ(0, module1->SendREDPayloadType(red)); |
+ EXPECT_EQ(0, module1->SendREDPayloadType(&red)); |
EXPECT_EQ(voice_codec.pltype, red); |
EXPECT_EQ(0, rtp_receiver1_->RegisterReceivePayload( |
voice_codec.plname, |
@@ -278,7 +278,7 @@ TEST_F(RtpRtcpAudioTest, RED) { |
&fragmentation)); |
EXPECT_EQ(0, module1->SetSendREDPayloadType(-1)); |
- EXPECT_EQ(-1, module1->SendREDPayloadType(red)); |
+ EXPECT_EQ(-1, module1->SendREDPayloadType(&red)); |
} |
TEST_F(RtpRtcpAudioTest, DTMF) { |