MSE: Remove an AudioDiscardHelper DCHECK hit by imprecise durations
When a decoded audio buffer has an effective front discard that fully discards the decode output for that buffer, and also has an end discard, previously this would fail a DCHECK. Release code would fully discard that buffer, ignore that buffer's end discard, and handle any remaining front discard in future ProcessBuffer calls. Since this scenario can happen when the stream's duration metadata is incorrect relative to the precise decode output (and stream duration metadata sometimes has limited precision, commonly 1ms in webm), this change removes the DCHECK, but adds a comment for clarification. BUG=807515 TEST=associated fuzzer cases no longer fail the DCHECK Change-Id: Ibb0ec6469fbba0111e20758c485d38778983df23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809101 Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#697445}
Showing
Please register or sign in to comment