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

Unified Diff: webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.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
Index: webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
index 1c028c97443c6a1e59de242e651d380ad155a49e..0d3fb24f80589e153299f07c63df5b422641096a 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
@@ -232,7 +232,7 @@ NetEqQualityTest::NetEqQualityTest(int block_duration_ms,
const std::string out_filename = FLAGS_out_filename;
const std::string log_filename = out_filename + ".log";
log_file_.open(log_filename.c_str(), std::ofstream::out);
- CHECK(log_file_.is_open());
+ RTC_CHECK(log_file_.is_open());
if (out_filename.size() >= 4 &&
out_filename.substr(out_filename.size() - 4) == ".wav") {
@@ -402,7 +402,7 @@ int NetEqQualityTest::DecodeBlock() {
} else {
assert(channels == channels_);
assert(samples == static_cast<size_t>(kOutputSizeMs * out_sampling_khz_));
- CHECK(output_->WriteArray(out_data_.get(), samples * channels));
+ RTC_CHECK(output_->WriteArray(out_data_.get(), samples * channels));
return static_cast<int>(samples);
}
}
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/input_audio_file.cc ('k') | webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698