commit | b7cd5f9c0c99f8c4ac09076729c81ca0fbf41aae | [log] [tgz] |
---|---|---|
author | henrik.lundin <henrik.lundin@webrtc.org> | Mon Sep 04 16:02:15 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Sep 04 16:02:15 2017 |
tree | 32adc9c1964c2ad7057379f0232c7f5164f1f453 | |
parent | aab2c6235dfc1e7c6a97773538daf17a97e1905b [diff] |
RtpToNtpEstimator:: Add a DCHECK to avoid div-by-0 The division that follows the added DCHECK should not be div-by-0, since when params_.calculated is true, params_.frequency_khz would have been updated (with something non-zero). BUG=none Review-Url: https://codereview.webrtc.org/3006003002 Cr-Original-Commit-Position: refs/heads/master@{#19671} Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: d56ef8085718e15c497b0d9c60baa1a4640420fa