Guard against midstream audio configuration changes.
In WebAudio this can lead to oob reads. In HTML5 this will cause garbled audio or oob reads depending on the sample format. The guards in place just ensure channel count nor sample format change between demux and decode. Video already has similar guards in place via the checks done in VideoFrame::IsValidConfig during buffer allocation. BUG=166565 TEST=unit tests pass under ASAN. Review URL: https://chromiumcodereview.appspot.com/12224114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182027 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment