From 33f22d01f030f01040d6a50bf896ccd40129a4a4 Mon Sep 17 00:00:00 2001 From: "kma@webrtc.org" Date: Thu, 14 Mar 2013 21:44:12 +0000 Subject: [PATCH] Fixed a crash issue in NSX module. Run time error message for function WebRtcNsx_PrepareSpectrumNeon(): "Bad access at: 0x4f535c: vst1.16{d16, d17, d18, d19}, [r2], r12" Cause: "anaLen" was defined as int16_t and should have been read as such in assembly function WebRtcNsx_PrepareSpectrumNeon(). Fix: Changed anaLen's definition to int in the header file instead. BUG=b/8382174 Review URL: https://webrtc-codereview.appspot.com/1202004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3669 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/ns/nsx_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/ns/nsx_core.h b/webrtc/modules/audio_processing/ns/nsx_core.h index 1afbc5c1cf..6275cf930c 100644 --- a/webrtc/modules/audio_processing/ns/nsx_core.h +++ b/webrtc/modules/audio_processing/ns/nsx_core.h @@ -34,7 +34,7 @@ typedef struct NsxInst_t_ { WebRtc_Word16 noiseEstCounter[SIMULT]; WebRtc_Word16 noiseEstQuantile[HALF_ANAL_BLOCKL]; - WebRtc_Word16 anaLen; + int anaLen; int anaLen2; int magnLen; int aggrMode;