Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: webrtc/modules/audio_processing/agc/legacy/analog_agc.c

Issue 2003623003: Re-enable UBsan on AGC. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: addressing another place Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/ubsan/blacklist.txt ('k') | webrtc/modules/audio_processing/agc/legacy/digital_agc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/agc/legacy/analog_agc.c
diff --git a/webrtc/modules/audio_processing/agc/legacy/analog_agc.c b/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
index 36c67c282a02a1b9096f01aa8bda572624f8b67b..57bc5fe189381441fe519e92a4fc31b692d275e8 100644
--- a/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
+++ b/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
@@ -474,7 +474,7 @@ void WebRtcAgc_SaturationCtrl(LegacyAgc* stt,
void WebRtcAgc_ZeroCtrl(LegacyAgc* stt, int32_t* inMicLevel, int32_t* env) {
int16_t i;
- int32_t tmp32 = 0;
+ int64_t tmp32 = 0;
peah-webrtc 2016/06/03 08:34:46 I think the variable name should be changed as wel
int32_t midVal;
/* Is the input signal zero? */
« no previous file with comments | « tools/ubsan/blacklist.txt ('k') | webrtc/modules/audio_processing/agc/legacy/digital_agc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698