Fixed initialization of SPL in echo_control_mobile.

BUG=8403556 (a possible fix)
Review URL: https://webrtc-codereview.appspot.com/1220004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3687 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kma@webrtc.org 2013-03-19 00:25:01 +00:00
parent 95a8ddd272
commit 31829a7baf

View File

@ -95,6 +95,8 @@ WebRtc_Word32 WebRtcAecm_Create(void **aecmInst)
return -1;
}
WebRtcSpl_Init();
if (WebRtcAecm_CreateCore(&aecm->aecmCore) == -1)
{
WebRtcAecm_Free(aecm);
@ -111,8 +113,6 @@ WebRtc_Word32 WebRtcAecm_Create(void **aecmInst)
return -1;
}
WebRtcSpl_Init();
aecm->initFlag = 0;
aecm->lastError = 0;