Index: webrtc/base/transformadapter.cc |
diff --git a/webrtc/base/transformadapter.cc b/webrtc/base/transformadapter.cc |
index 798a3c39068b268ccb16bcd2a0ece0256f95bda6..f140dab33416772f9e1e8ed5c608345e00111a9b 100644 |
--- a/webrtc/base/transformadapter.cc |
+++ b/webrtc/base/transformadapter.cc |
@@ -67,7 +67,7 @@ TransformAdapter::Read(void * buffer, size_t buffer_len, |
StreamResult result = transform_->Transform(buffer_, &in_len, |
buffer, &out_len, |
(state_ == ST_FLUSHING)); |
- ASSERT(result != SR_BLOCK); |
+ RTC_DCHECK(result != SR_BLOCK); |
if (result == SR_EOS) { |
// Note: Don't signal SR_EOS this iteration, unless out_len is zero |
state_ = ST_COMPLETE; |
@@ -118,7 +118,7 @@ TransformAdapter::Write(const void * data, size_t data_len, |
buffer_ + len_, &out_len, |
(state_ == ST_FLUSHING)); |
- ASSERT(result != SR_BLOCK); |
+ RTC_DCHECK(result != SR_BLOCK); |
if (result == SR_EOS) { |
// Note: Don't signal SR_EOS this iteration, unless no data written |
state_ = ST_COMPLETE; |