Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Issue 2746903002: iSAC fix entropy coder: Recently added DCHECK could in fact trigger (Closed)

Created:
3 years, 9 months ago by kwiberg-webrtc
Modified:
3 years, 9 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, AleBzk, kwiberg-webrtc, Andrew MacDonald, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, aluebs-webrtc, bjornv1, tommi
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

iSAC fix entropy coder: Recently added DCHECK could in fact trigger A DCHECK added in a recent bugfix, which asserted that a signed 64->32 bit cast did not overflow, has been found to not always pass. We fix this by saturating. BUG=chromium:693868 Review-Url: https://codereview.webrtc.org/2746903002 Cr-Commit-Position: refs/heads/master@{#17209} Committed: https://chromium.googlesource.com/external/webrtc/+/a1896a649c9238af281a0e73dacbf981d0bc8e64

Patch Set 1 #

Patch Set 2 : don't let new function be caught by #ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M webrtc/common_audio/signal_processing/include/spl_inl.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
kwiberg-webrtc
PTAL. I decided to saturate rather than truncate after all, because I'm squeamish. (The method ...
3 years, 9 months ago (2017-03-13 09:53:41 UTC) #6
hlundin-webrtc
lgtm
3 years, 9 months ago (2017-03-13 10:34:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2746903002/20001
3 years, 9 months ago (2017-03-13 12:26:32 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 12:28:50 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/a1896a649c9238af281a0e73d...

Powered by Google App Engine
This is Rietveld 408576698