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

Issue 251583003: Ensure DiscardPadding is parsed as a signed integer. (Closed)

Created:
6 years, 8 months ago by DaleCurtis
Modified:
6 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Ensure DiscardPadding is parsed as a signed integer. Per the spec DiscardPadding is a signed integer. Sadly the parser only supports UInt values at the moment. To avoid refactoring the world, we parse DiscardPadding as binary and have a one off parser. A re-encoded bear-opus-end-trimming.webm will be landed separately ahead of this change. This patch also adds a check to ensure we never parse uint64 values which will overflow an int64 container. BUG=366750 TEST=Existing tests pass w/ DCHECK. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266478

Patch Set 1 #

Patch Set 2 : Rebase on top of test disable. #

Total comments: 4

Patch Set 3 : Comments. #

Patch Set 4 : Fix content tests. #

Patch Set 5 : Remove bad rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -27 lines) Patch
M content/browser/media/media_browsertest.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/media/media_source_browsertest.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M media/filters/opus_audio_decoder.cc View 1 2 3 4 1 chunk +9 lines, -6 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 2 chunks +11 lines, -6 lines 0 comments Download
M media/formats/webm/webm_parser.cc View 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
DaleCurtis
6 years, 8 months ago (2014-04-24 23:46:52 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % comments. https://codereview.chromium.org/251583003/diff/20001/media/filters/opus_audio_decoder.cc File media/filters/opus_audio_decoder.cc (right): https://codereview.chromium.org/251583003/diff/20001/media/filters/opus_audio_decoder.cc#newcode532 media/filters/opus_audio_decoder.cc:532: output_timestamp_helper_->AddFrames(frames_decoded); Shouldn't this be frames_to_output? https://codereview.chromium.org/251583003/diff/20001/media/filters/opus_audio_decoder.cc#newcode536 ...
6 years, 8 months ago (2014-04-25 00:06:05 UTC) #2
DaleCurtis
Test data landed, will CQ shortly. https://codereview.chromium.org/251583003/diff/20001/media/filters/opus_audio_decoder.cc File media/filters/opus_audio_decoder.cc (right): https://codereview.chromium.org/251583003/diff/20001/media/filters/opus_audio_decoder.cc#newcode532 media/filters/opus_audio_decoder.cc:532: output_timestamp_helper_->AddFrames(frames_decoded); On 2014/04/25 ...
6 years, 8 months ago (2014-04-25 00:22:10 UTC) #3
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-25 01:50:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/40001
6 years, 8 months ago (2014-04-25 02:02:56 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 02:57:49 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-04-25 02:57:49 UTC) #7
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-25 19:37:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/80001
6 years, 8 months ago (2014-04-25 21:47:58 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 23:11:16 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-25 23:11:16 UTC) #11
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-25 23:12:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/80001
6 years, 8 months ago (2014-04-25 23:14:59 UTC) #13
DaleCurtis
The CQ bit was unchecked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-25 23:41:56 UTC) #14
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-25 23:49:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/100001
6 years, 8 months ago (2014-04-25 23:51:10 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 08:44:06 UTC) #17
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 8 months ago (2014-04-26 08:44:07 UTC) #18
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-26 17:27:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/100001
6 years, 8 months ago (2014-04-26 17:28:02 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 23:31:39 UTC) #21
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 8 months ago (2014-04-27 01:14:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/251583003/100001
6 years, 8 months ago (2014-04-27 01:15:05 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-28 07:56:28 UTC) #25
Message was sent while issue was closed.
Change committed as 266478

Powered by Google App Engine
This is Rietveld 408576698