Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index 37dc3b685b9243d7c31bdf35cb7b2ee9ce79ccc0..18f34082765aff7f1f5232ed617f8ace83edaadd 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -3269,9 +3269,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 " |