Index: webrtc/modules/audio_processing/common.h |
diff --git a/webrtc/modules/audio_processing/common.h b/webrtc/modules/audio_processing/common.h |
index d4ddb92b509907a42dab74bfa0723a16c6a1ec6e..184e2a551104d1d4923d1d4e5e510421ee5c48b0 100644 |
--- a/webrtc/modules/audio_processing/common.h |
+++ b/webrtc/modules/audio_processing/common.h |
@@ -11,8 +11,7 @@ |
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_ |
#define WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_ |
-#include <assert.h> |
- |
+#include "webrtc/base/checks.h" |
#include "webrtc/modules/audio_processing/include/audio_processing.h" |
namespace webrtc { |
@@ -26,7 +25,7 @@ static inline size_t ChannelsFromLayout(AudioProcessing::ChannelLayout layout) { |
case AudioProcessing::kStereoAndKeyboard: |
return 2; |
} |
- assert(false); |
+ RTC_NOTREACHED(); |
return 0; |
} |