Commit 251cf364 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Reduce image size to avoid out of memory

AV1FrameSizeTestsLarge.ValidSize test failed on x86-win32-gcc due to
running out of memory. This commit reduce the image size for the test
to avoid the failure.

Change-Id: Ie081878c7a57b9c453a25e990f446cc3f57704a4
parent 6de954c3
......@@ -74,7 +74,7 @@ TEST_F(AV1FrameSizeTestsLarge, ValidSizes) {
// 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) || defined(__OS2__)
video.SetSize(4096, 3072);
video.SetSize(2560, 1440);
#else
video.SetSize(4096, 4096);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment