summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-07-17 06:31:50 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-07-17 07:07:48 -0700
commit943e43273b0a7369d07714e7fd2e19fecfb11c7c (patch)
treea503ecd8b32bff01dcb767e87db4d94685681b3a /configure
parent1a01194ab548ca9b5d7dbbdc2350d4c06f54e6d4 (diff)
downloadlibvpx-943e43273b0a7369d07714e7fd2e19fecfb11c7c.tar
libvpx-943e43273b0a7369d07714e7fd2e19fecfb11c7c.tar.gz
libvpx-943e43273b0a7369d07714e7fd2e19fecfb11c7c.tar.bz2
libvpx-943e43273b0a7369d07714e7fd2e19fecfb11c7c.zip
allow config options to limit max size of decode
This is a practical concern to allow us to fail in a decoder instance if the size of a file is bigger than we can reasonably handle. Change-Id: I0446b5502b1f8a48408107648ff2a8d187dca393
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index b98480ecb..b8159c0af 100755
--- a/configure
+++ b/configure
@@ -26,6 +26,7 @@ Advanced options:
${toggle_unit_tests} unit tests
${toggle_decode_perf_tests} build decoder perf tests with unit tests
--libc=PATH path to alternate libc
+ --size-limit=WxH max size to allow in the decoder
--as={yasm|nasm|auto} use specified assembler [auto, yasm preferred]
--sdk-path=PATH path to root of sdk (android builds only)
${toggle_fast_unaligned} don't use unaligned accesses, even when
@@ -327,6 +328,7 @@ CONFIG_LIST="
multi_res_encoding
temporal_denoising
experimental
+ size_limit
${EXPERIMENT_LIST}
"
CMDLINE_SELECT="
@@ -352,6 +354,7 @@ CMDLINE_SELECT="
docs
libc
as
+ size_limit
fast_unaligned
codec_srcs
debug_libs