Don't crash when splices are in the past due to bad media.
commiteb7928a731f7f9a7282fcb503295d37e5a8ce1eb
authordalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 09:43:12 +0000 (8 09:43 +0000)
committerdalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 09:44:37 +0000 (8 09:44 +0000)
treec77842c0f38fb2932c443afdfa2bba803cba9010
parent0d830e6b4659a688c94dd33e9fb0a8d4bc5c9b9b
Don't crash when splices are in the past due to bad media.

Bad media may result in splice frames way in the past.  We need
to avoid crashing in this case.  See the bug for more details.

BUG=400442
TEST=new media test.

Review URL: https://codereview.chromium.org/440803002

Cr-Commit-Position: refs/heads/master@{#288284}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288284 0039d316-1c4b-4281-b951-d872f2087c98
media/base/audio_splicer.cc
media/base/audio_splicer_unittest.cc