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

Issue 1870113003: Merge M50: "Fixing AudioBuffer params and channel layout bugs" (Closed)

Created:
4 years, 8 months ago by DaleCurtis
Modified:
4 years, 8 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2661
Target Ref:
refs/pending/branch-heads/2661
Project:
chromium
Visibility:
Public.

Description

Merge M50: "Fixing AudioBuffer params and channel layout bugs" Work for AAC implicit signaling introduced the possiblity for audio rendering configs to change to change midstream. Checking for channel layout changes caused a regression and caused 6 channel audio playback to fail. Clusterfuzz also detected some heap buffer overflow issues, when the decoded audio buffers we receive have a different channel layout or sample rate than the ones we expect. This change allows FfmpegAudioDecoder to ignore channel layout changes on non AAC codec. It also checks that decoded AudioBuffer sample rate and channel count match the expected parameters before adding them to the splicer queue, in AudioRendererImpl. BUG=599625, 599846, 600538 TEST=manual tests on an ASAN build, with ffmpeg_regression_test to follow REVIEW=dalecurtis Review URL: https://codereview.chromium.org/1868983004 Cr-Commit-Position: refs/heads/master@{#385922} (cherry picked from commit 43eed5f900264ff88be25806c883dab2011260fa) Committed: https://chromium.googlesource.com/chromium/src/+/7f2efb0b0cde7dffa231f43418eeddf9ef897ecc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -4 lines) Patch
M media/filters/ffmpeg_audio_decoder.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M media/renderers/audio_renderer_impl.cc View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
DaleCurtis
4 years, 8 months ago (2016-04-08 19:37:11 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
7f2efb0b0cde7dffa231f43418eeddf9ef897ecc (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698