blob: b1f5f0459dddd0acc2fd8b963f2818b35a7055ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/src/3rdparty/chromium/third_party/webrtc/common_audio/vad/vad_core.c
+++ b/src/3rdparty/chromium/third_party/webrtc/common_audio/vad/vad_core.c
@@ -115,8 +115,8 @@ static int32_t WeightedAverage(int16_t* data, int16_t offset,
// undefined behavior, so not a good idea; this just makes UBSan ignore the
// violation, so that our old code can continue to do what it's always been
// doing.)
-static inline int32_t OverflowingMulS16ByS32ToS32(int16_t a, int32_t b)
- RTC_NO_SANITIZE("signed-integer-overflow") {
+static inline int32_t RTC_NO_SANITIZE("signed-integer-overflow")
+ OverflowingMulS16ByS32ToS32(int16_t a, int32_t b) {
return a * b;
}
|