summarylogtreecommitdiffstats
path: root/WEBRTC-7857.diff
diff options
context:
space:
mode:
Diffstat (limited to 'WEBRTC-7857.diff')
-rw-r--r--WEBRTC-7857.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/WEBRTC-7857.diff b/WEBRTC-7857.diff
new file mode 100644
index 000000000000..b1f5f0459ddd
--- /dev/null
+++ b/WEBRTC-7857.diff
@@ -0,0 +1,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;
+ } \ No newline at end of file