Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index 54aa802d73e4ccbca87d0f93cdeb73b536ad3329..6c038979ed0c5d1b20b4e25558b9dfface0d2e55 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -3127,9 +3127,8 @@ Channel::GetREDStatus(bool& enabled, int& redPayloadtype) |
enabled = audio_coding_->REDStatus(); |
if (enabled) |
{ |
- int8_t payloadType(0); |
- if (_rtpRtcpModule->SendREDPayloadType(payloadType) != 0) |
- { |
+ int8_t payloadType = 0; |
+ if (_rtpRtcpModule->SendREDPayloadType(&payloadType) != 0) { |
_engineStatisticsPtr->SetLastError( |
VE_RTP_RTCP_MODULE_ERROR, kTraceError, |
"GetREDStatus() failed to retrieve RED PT from RTP/RTCP " |