Commit e189edfe authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Initialize pass variable in tile test.

Change-Id: I7977694223521404fc69f29ae2cff03e36e87299
parent db4dc6f0
......@@ -140,6 +140,7 @@ void EncoderTest::RunLoop(VideoSource *video) {
stats_.Reset();
ASSERT_TRUE(passes_ == 1 || passes_ == 2);
for (unsigned int pass = 0; pass < passes_; pass++) {
last_pts_ = 0;
......
......@@ -45,6 +45,7 @@ class TileIndependenceTest : public ::libvpx_test::EncoderTest,
virtual void SetUp() {
InitializeConfig();
SetMode(libvpx_test::kTwoPassGood);
}
virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment