ref: 9af8c39694d3ce0035b896d668ac6e57266e9898
parent: e909da888c267e34996f021ad4ecbc0cb930cfc3
author: KO Myung-Hun <[email protected]>
date: Sun Aug 30 12:28:41 EDT 2015
test: limit the valid image size on OS/2 Without this, test_libvpx crashes at VP9FrameSizeTestsLarge.ValidSizes on OS/2. Change-Id: If253fb95a04216babed56458f0fab8c70523fc7e
--- a/test/frame_size_tests.cc
+++ b/test/frame_size_tests.cc
@@ -74,7 +74,7 @@
// 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);