summaryrefslogtreecommitdiff
path: root/media/libaom/src/test/active_map_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/test/active_map_test.cc')
-rw-r--r--media/libaom/src/test/active_map_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libaom/src/test/active_map_test.cc b/media/libaom/src/test/active_map_test.cc
index a2b0546edb..0f8a7329e0 100644
--- a/media/libaom/src/test/active_map_test.cc
+++ b/media/libaom/src/test/active_map_test.cc
@@ -37,7 +37,7 @@ class ActiveMapTest
virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video,
::libaom_test::Encoder *encoder) {
- if (video->frame() == 1) {
+ if (video->frame() == 0) {
encoder->Control(AOME_SET_CPUUSED, cpu_used_);
} else if (video->frame() == 3) {
aom_active_map_t map = aom_active_map_t();