Index: webrtc/modules/video_coding/main/source/video_receiver.cc |
diff --git a/webrtc/modules/video_coding/main/source/video_receiver.cc b/webrtc/modules/video_coding/main/source/video_receiver.cc |
index 8b0509eb1eec33b963cc1d7b636d029e036d0f66..7371f9d33721b69910d2dd2b02ca9ba1fc328ecb 100644 |
--- a/webrtc/modules/video_coding/main/source/video_receiver.cc |
+++ b/webrtc/modules/video_coding/main/source/video_receiver.cc |
@@ -188,14 +188,14 @@ int32_t VideoReceiver::SetVideoProtection(VCMVideoProtection videoProtection, |
_receiver.SetDecodeErrorMode(kNoErrors); |
switch (videoProtection) { |
case kProtectionNack: { |
- DCHECK(enable); |
+ RTC_DCHECK(enable); |
_receiver.SetNackMode(kNack, -1, -1); |
break; |
} |
case kProtectionNackFEC: { |
CriticalSectionScoped cs(_receiveCritSect); |
- DCHECK(enable); |
+ RTC_DCHECK(enable); |
_receiver.SetNackMode(kNack, media_optimization::kLowRttNackMs, -1); |
_receiver.SetDecodeErrorMode(kNoErrors); |
break; |
@@ -203,7 +203,7 @@ int32_t VideoReceiver::SetVideoProtection(VCMVideoProtection videoProtection, |
case kProtectionFEC: |
case kProtectionNone: |
// No receiver-side protection. |
- DCHECK(enable); |
+ RTC_DCHECK(enable); |
_receiver.SetNackMode(kNoNack, -1, -1); |
_receiver.SetDecodeErrorMode(kWithErrors); |
break; |