diff options
author | jrummell@chromium.org <jrummell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 00:42:24 +0000 |
---|---|---|
committer | jrummell@chromium.org <jrummell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 00:42:24 +0000 |
commit | d8193de7e76eb531747201c154f6904fd0cd2dc6 (patch) | |
tree | 5fcb4bd7ea07250eb34f16b30bc176171756ae97 /media/ffmpeg | |
parent | fd8eb7415505b31d9d8bdb785517f081f02a11d0 (diff) | |
download | chromium_src-d8193de7e76eb531747201c154f6904fd0cd2dc6.zip chromium_src-d8193de7e76eb531747201c154f6904fd0cd2dc6.tar.gz chromium_src-d8193de7e76eb531747201c154f6904fd0cd2dc6.tar.bz2 |
Update ffmpeg regression tests.
Add sample from bug 275590 which should fail gracefully.
BUG=275590
Review URL: https://chromiumcodereview.appspot.com/23079012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/ffmpeg')
-rw-r--r-- | media/ffmpeg/ffmpeg_regression_tests.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/ffmpeg/ffmpeg_regression_tests.cc b/media/ffmpeg/ffmpeg_regression_tests.cc index a780d43..0b68fd0 100644 --- a/media/ffmpeg/ffmpeg_regression_tests.cc +++ b/media/ffmpeg/ffmpeg_regression_tests.cc @@ -152,6 +152,11 @@ FFMPEG_TEST_CASE(Cr234630b, "security/234630b.mov", PIPELINE_ERROR_DECODE, FFMPEG_TEST_CASE(Cr242786, "security/242786.webm", PIPELINE_OK, PIPELINE_OK, kNullVideoHash, "-1.72,-0.83,0.84,1.70,1.23,-0.53,"); +// Test for out-of-bounds access with slightly corrupt file (detection logic +// thinks it's a MONO file, but actually contains STEREO audio). +FFMPEG_TEST_CASE(Cr275590, "security/275590.m4a", + DECODER_ERROR_NOT_SUPPORTED, DEMUXER_ERROR_COULD_NOT_OPEN, + kNullVideoHash, kNullAudioHash); // General MP4 test cases. FFMPEG_TEST_CASE(MP4_0, "security/aac.10419.mp4", DEMUXER_ERROR_COULD_NOT_OPEN, |