UBSan will trigger when time_stretched_samples overflows using a big number. This change avoids this problem by storing the intermediate result into a int64_t. Bug: chromium:886904 Change-Id: Id09dc4b468f841f03b523d5f21763f610b163a42 Reviewed-on: https://webrtc-review.googlesource.com/c/103123 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Pablo Barrera González <barrerap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24977}