The computation (x-127) << 8 is undefined for x < 127. This CL replaces the shift with a multiplication: (x-127) * (1 << 8) Bug: chromium:793201 Change-Id: I38b40bd88300208a0bfbbd8fe144b0a5b51a48ed Reviewed-on: https://webrtc-review.googlesource.com/31800 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21205} |
||
|---|---|---|
| .. | ||
| audio_encoder_cng_unittest.cc | ||
| audio_encoder_cng.cc | ||
| audio_encoder_cng.h | ||
| cng_unittest.cc | ||
| webrtc_cng.cc | ||
| webrtc_cng.h | ||