Index: webrtc/modules/video_capture/windows/sink_filter_ds.cc |
diff --git a/webrtc/modules/video_capture/windows/sink_filter_ds.cc b/webrtc/modules/video_capture/windows/sink_filter_ds.cc |
index 2f304ae65db78cfbe61ce08eec2e4c01465dbca6..1c5dd3afe08fa4cfcf5bc8bf508753fb9097e35c 100644 |
--- a/webrtc/modules/video_capture/windows/sink_filter_ds.cc |
+++ b/webrtc/modules/video_capture/windows/sink_filter_ds.cc |
@@ -10,6 +10,7 @@ |
#include "webrtc/modules/video_capture/windows/sink_filter_ds.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/platform_thread.h" |
#include "webrtc/modules/video_capture/windows/help_functions_ds.h" |
#include "webrtc/system_wrappers/include/trace.h" |
@@ -337,7 +338,7 @@ CaptureInputPin::Receive ( IN IMediaSample * pIMediaSample ) |
if (SUCCEEDED (hr)) |
{ |
const LONG length = pIMediaSample->GetActualDataLength(); |
- ASSERT(length >= 0); |
+ RTC_DCHECK(length >= 0); |
unsigned char* pBuffer = NULL; |
if(S_OK != pIMediaSample->GetPointer(&pBuffer)) |