Ignore some UBSan errors

They proved to be too difficult to fix properly, so we revert the
saturation fixes that were done in
https://codereview.webrtc.org/2729573002 and
https://codereview.webrtc.org/2746903002, and ignore them instead.

BUG=webrtc:7307, chromium:709364, chromium:693868

Review-Url: https://codereview.webrtc.org/2809483002
Cr-Commit-Position: refs/heads/master@{#17612}
This commit is contained in:
kwiberg
2017-04-10 02:29:33 -07:00
committed by Commit bot
parent 9f2c18e237
commit 49cad02cf3
2 changed files with 28 additions and 21 deletions

View File

@ -63,11 +63,6 @@ static __inline int WebRtcSpl_CountLeadingZeros64(uint64_t n) {
#endif
}
static __inline int32_t WebRtcSpl_SatW64ToW32(int64_t x) {
int32_t x32 = (int32_t)x;
return x32 == x ? x32 : x < 0 ? INT32_MIN : INT32_MAX;
}
#ifdef WEBRTC_ARCH_ARM_V7
#include "webrtc/common_audio/signal_processing/include/spl_inl_armv7.h"
#else