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

Issue 2727573005: Remove useless DCHECK; discard helper enforces invalid values. (Closed)

Created:
3 years, 9 months ago by DaleCurtis
Modified:
3 years, 9 months ago
Reviewers:
chcunningham
CC:
chromium-reviews, feature-media-reviews_chromium.org, fuzzing_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove useless DCHECK; discard helper enforces invalid values. This DCHECK is harmless and failure of it just means we'll discard a bit less of a negative packet than expected. Invalid values are already sanitized by AudioDiscardHelper. Also fixes log spam from duration changes. BUG=697299 TEST=fuzzertest no longer fails. Review-Url: https://codereview.chromium.org/2727573005 Cr-Commit-Position: refs/heads/master@{#454430} Committed: https://chromium.googlesource.com/chromium/src/+/e24ee9fad5abcc31826978860d91047c8e6aa25f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -27 lines) Patch
M media/filters/ffmpeg_demuxer.cc View 1 chunk +16 lines, -26 lines 0 comments Download
M media/test/pipeline_integration_fuzzertest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
DaleCurtis
3 years, 9 months ago (2017-03-02 20:52:32 UTC) #2
chcunningham
LGTM Just to be sure I'm reading it right, in the even that codec delay ...
3 years, 9 months ago (2017-03-02 21:45:59 UTC) #4
DaleCurtis
We will decode the data which was below 0 and only drop |codec_delay| frames from ...
3 years, 9 months ago (2017-03-02 21:54:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727573005/1
3 years, 9 months ago (2017-03-02 21:55:01 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 23:26:22 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e24ee9fad5abcc31826978860d91...

Powered by Google App Engine
This is Rietveld 408576698