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

Issue 1407383010: Correctly handle the error case where the CodecId has a negative value (Closed)

Created:
5 years, 1 month ago by kwiberg-webrtc
Modified:
5 years, 1 month ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, peah-webrtc, kwiberg-webrtc, tlegrand-webrtc, Peter Kasting
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Correctly handle the error case where the CodecId has a negative value Negative values should be treated the same as too-large positive values: by returning an empty Maybe. TBR=henrik.lundin@webrtc.org Committed: https://crrev.com/98cc88c87354c96a88cebbd7b803815b4ebeea95 Cr-Commit-Position: refs/heads/master@{#10509}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M webrtc/modules/audio_coding/main/acm2/rent_a_codec.h View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
kwiberg-webrtc
PTAL
5 years, 1 month ago (2015-11-04 09:02:49 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/1407383010/diff/1/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h File webrtc/modules/audio_coding/main/acm2/rent_a_codec.h (right): https://codereview.webrtc.org/1407383010/diff/1/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h#newcode135 webrtc/modules/audio_coding/main/acm2/rent_a_codec.h:135: const size_t i = static_cast<size_t>(codec_id); No sir, I didn't ...
5 years, 1 month ago (2015-11-04 11:03:42 UTC) #5
kwiberg-webrtc
New patch set posted. https://codereview.webrtc.org/1407383010/diff/1/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h File webrtc/modules/audio_coding/main/acm2/rent_a_codec.h (right): https://codereview.webrtc.org/1407383010/diff/1/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h#newcode135 webrtc/modules/audio_coding/main/acm2/rent_a_codec.h:135: const size_t i = static_cast<size_t>(codec_id); ...
5 years, 1 month ago (2015-11-04 14:27:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383010/20001
5 years, 1 month ago (2015-11-04 17:55:00 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-04 17:56:23 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/98cc88c87354c96a88cebbd7b803815b4ebeea95 Cr-Commit-Position: refs/heads/master@{#10509}
5 years, 1 month ago (2015-11-04 17:56:31 UTC) #11
hlundin-webrtc
5 years, 1 month ago (2015-11-05 08:06:50 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698