summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2015-08-30 16:28:41 +0900
committerKO Myung-Hun <komh@chollian.net>2015-09-02 19:04:16 +0900
commit9af8c39694d3ce0035b896d668ac6e57266e9898 (patch)
treeb01a7db43b3d9707c4fc4555c99ea5cc4c3b41bb /test
parente909da888c267e34996f021ad4ecbc0cb930cfc3 (diff)
downloadlibvpx-9af8c39694d3ce0035b896d668ac6e57266e9898.tar
libvpx-9af8c39694d3ce0035b896d668ac6e57266e9898.tar.gz
libvpx-9af8c39694d3ce0035b896d668ac6e57266e9898.tar.bz2
libvpx-9af8c39694d3ce0035b896d668ac6e57266e9898.zip
test: limit the valid image size on OS/2
Without this, test_libvpx crashes at VP9FrameSizeTestsLarge.ValidSizes on OS/2. Change-Id: If253fb95a04216babed56458f0fab8c70523fc7e
Diffstat (limited to 'test')
-rw-r--r--test/frame_size_tests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/frame_size_tests.cc b/test/frame_size_tests.cc
index 95cc66adc..d39c8f6ee 100644
--- a/test/frame_size_tests.cc
+++ b/test/frame_size_tests.cc
@@ -74,7 +74,7 @@ TEST_F(VP9FrameSizeTestsLarge, ValidSizes) {
// size or almost 1 gig of memory.
// In total the allocations will exceed 2GiB which may cause a failure with
// mingw + wine, use a smaller size in that case.
-#if defined(_WIN32) && !defined(_WIN64)
+#if defined(_WIN32) && !defined(_WIN64) || defined(__OS2__)
video.SetSize(4096, 3072);
#else
video.SetSize(4096, 4096);