Fix typo in VCMRttFilter
Incorrect length parameter was passed to memset (lenght of array in elements instead of length in bytes, which is 8 times more since int64 is used). Bug: none Change-Id: I9100d1986377a8b3b9e475d1fbc215f4a1dedfb1 Reviewed-on: https://webrtc-review.googlesource.com/44280 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21771}
This commit is contained in:
parent
4dc891f5e3
commit
833cdea923
@ -49,8 +49,8 @@ void VCMRttFilter::Reset() {
|
|||||||
_filtFactCount = 1;
|
_filtFactCount = 1;
|
||||||
_jumpCount = 0;
|
_jumpCount = 0;
|
||||||
_driftCount = 0;
|
_driftCount = 0;
|
||||||
memset(_jumpBuf, 0, kMaxDriftJumpCount);
|
memset(_jumpBuf, 0, sizeof(_jumpBuf));
|
||||||
memset(_driftBuf, 0, kMaxDriftJumpCount);
|
memset(_driftBuf, 0, sizeof(_driftBuf));
|
||||||
}
|
}
|
||||||
|
|
||||||
void VCMRttFilter::Update(int64_t rttMs) {
|
void VCMRttFilter::Update(int64_t rttMs) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user