# aom: Fix a typo in CpuSpeedTest::TestTuneScreen()

**URL:** <https://discourse.libsdl.org/t/aom-fix-a-typo-in-cpuspeedtest-testtunescreen/51484>\
**Category:** SDL Commits\
**Created:** [May 24, 2024, 12:12am UTC](https://discourse.libsdl.org/t/aom-fix-a-typo-in-cpuspeedtest-testtunescreen/51484 "2024-05-24T00:12:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [May 24, 2024, 12:12am UTC](https://discourse.libsdl.org/t/aom-fix-a-typo-in-cpuspeedtest-testtunescreen/51484/1 "2024-05-24T00:12:14Z")

</div>

> <https://github.com/libsdl-org/aom/commit/ea4e993f7be4fc956b8293b0ca258f873894466c>
>
> Change the second rc\_2pass\_vbr\_minsection\_pct to
> rc\_2pass\_vbr\_maxsection\_pct.
> 
> T…his copy-and-paste error was introduced in
> https://chromium-review.googlesource.com/c/webm/libvpx/+/332653.
> 
> Change-Id: I3469fa7d23562f0e2217c6be0d7e045f359f2022

```diff
From ea4e993f7be4fc956b8293b0ca258f873894466c Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Wed, 22 May 2024 16:01:04 -0700
Subject: [PATCH] Fix a typo in CpuSpeedTest::TestTuneScreen()

Change the second rc_2pass_vbr_minsection_pct to
rc_2pass_vbr_maxsection_pct.

This copy-and-paste error was introduced in
https://chromium-review.googlesource.com/c/webm/libvpx/+/332653.

Change-Id: I3469fa7d23562f0e2217c6be0d7e045f359f2022
---
 test/cpu_speed_test.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cpu_speed_test.cc b/test/cpu_speed_test.cc
index b5f5d2974d..972d800270 100644
--- a/test/cpu_speed_test.cc
+++ b/test/cpu_speed_test.cc
@@ -107,7 +107,7 @@ void CpuSpeedTest::TestTuneScreen() {
   ::libaom_test::Y4mVideoSource video("screendata.y4m", 0, 3);
   cfg_.g_timebase = video.timebase();
   cfg_.rc_2pass_vbr_minsection_pct = 5;
- cfg_.rc_2pass_vbr_minsection_pct = 2000;
+ cfg_.rc_2pass_vbr_maxsection_pct = 2000;
   cfg_.rc_target_bitrate = 2000;
   cfg_.rc_max_quantizer = 63;
   cfg_.rc_min_quantizer = 0;

```
