summaryrefslogtreecommitdiffstats
path: root/third_party/aom/examples/set_maps.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/examples/set_maps.c')
-rw-r--r--third_party/aom/examples/set_maps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/aom/examples/set_maps.c b/third_party/aom/examples/set_maps.c
index e88cd426f..3a54e5f96 100644
--- a/third_party/aom/examples/set_maps.c
+++ b/third_party/aom/examples/set_maps.c
@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
aom_codec_ctx_t codec;
aom_codec_enc_cfg_t cfg;
int frame_count = 0;
- const int limit = 30;
+ const int limit = 15;
aom_image_t raw;
aom_codec_err_t res;
AvxVideoInfo info;
@@ -184,9 +184,9 @@ int main(int argc, char **argv) {
while (aom_img_read(&raw, infile) && frame_count < limit) {
++frame_count;
- if (frame_count == 11) {
+ if (frame_count == 5) {
set_active_map(&cfg, &codec);
- } else if (frame_count == 22) {
+ } else if (frame_count == 11) {
unset_active_map(&cfg, &codec);
}