Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: webrtc/video/video_decoder.cc

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/transport_adapter.cc ('k') | webrtc/video/video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/video_decoder.cc
diff --git a/webrtc/video/video_decoder.cc b/webrtc/video/video_decoder.cc
index 0a5df7d01d1b1b397b19cf050b7fdebeb34ea826..e8dc5f1c296127afff252f1b6c8e6a0c47c69fa4 100644
--- a/webrtc/video/video_decoder.cc
+++ b/webrtc/video/video_decoder.cc
@@ -20,7 +20,7 @@ namespace webrtc {
VideoDecoder* VideoDecoder::Create(VideoDecoder::DecoderType codec_type) {
switch (codec_type) {
case kH264:
- DCHECK(H264Decoder::IsSupported());
+ RTC_DCHECK(H264Decoder::IsSupported());
return H264Decoder::Create();
case kVp8:
return VP8Decoder::Create();
@@ -64,7 +64,7 @@ int32_t VideoDecoderSoftwareFallbackWrapper::InitDecode(
}
bool VideoDecoderSoftwareFallbackWrapper::InitFallbackDecoder() {
- CHECK(decoder_type_ != kUnsupportedCodec)
+ RTC_CHECK(decoder_type_ != kUnsupportedCodec)
<< "Decoder requesting fallback to codec not supported in software.";
LOG(LS_WARNING) << "Decoder falling back to software decoding.";
fallback_decoder_.reset(VideoDecoder::Create(decoder_type_));
« no previous file with comments | « webrtc/video/transport_adapter.cc ('k') | webrtc/video/video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698