Commit 288ad69242 for aom
commit 288ad69242232a60dac6dca5697cb0154a7f39dc
Author: Julio Barba <juliobbv@gmail.com>
Date: Sat Mar 7 20:53:10 2026 -0500
Fix UseFixedQPOffsetsTest uninitialized value
Change-Id: Ibf29213d6d57421c7552537c3a18254e954a618f
diff --git a/test/use_fixed_qp_offsets_test.cc b/test/use_fixed_qp_offsets_test.cc
index 949e4e3a2a..1131f8ab1a 100644
--- a/test/use_fixed_qp_offsets_test.cc
+++ b/test/use_fixed_qp_offsets_test.cc
@@ -57,7 +57,7 @@ class UseFixedQPOffsetsTest
// interpret as the frame being read into the lookahead buffer.
if (qp == 0) return;
- if (use_fixed_qp_offsets_ == 2) {
+ if (cfg_.use_fixed_qp_offsets == 2) {
// Setting use_fixed_qp_offsets = 2 means every frame should use the same
// QP
ASSERT_EQ(qp, frame_qp_);
@@ -74,7 +74,6 @@ class UseFixedQPOffsetsTest
}
int frame_qp_;
- int use_fixed_qp_offsets_;
};
TEST_P(UseFixedQPOffsetsTest, TestQPOffsets) { DoTest(); }