mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1227481 - added a memset on aec. r=jesup
This commit is contained in:
parent
18f1188eac
commit
1bb9612250
@ -1492,6 +1492,9 @@ AecCore* WebRtcAec_CreateAec() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// set the mem with 0 in order to prevent garbage data
|
||||
memset(aec, 0, sizeof(*aec));
|
||||
|
||||
aec->nearFrBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(float));
|
||||
if (!aec->nearFrBuf) {
|
||||
WebRtcAec_FreeAec(aec);
|
||||
|
Loading…
Reference in New Issue
Block a user