shithub: libvpx

Download patch

ref: e189edfeb11d3433c8ca3c35fe8d5610ef2444f3
parent: db4dc6f0c0c30f56d675a489c93b22517eedb9f8
author: Ronald S. Bultje <rbultje@google.com>
date: Fri Mar 1 07:43:10 EST 2013

Initialize pass variable in tile test.

Change-Id: I7977694223521404fc69f29ae2cff03e36e87299

--- a/test/encode_test_driver.cc
+++ b/test/encode_test_driver.cc
@@ -140,6 +140,7 @@
 
   stats_.Reset();
 
+  ASSERT_TRUE(passes_ == 1 || passes_ == 2);
   for (unsigned int pass = 0; pass < passes_; pass++) {
     last_pts_ = 0;
 
--- a/test/tile_independence_test.cc
+++ b/test/tile_independence_test.cc
@@ -45,6 +45,7 @@
 
   virtual void SetUp() {
     InitializeConfig();
+    SetMode(libvpx_test::kTwoPassGood);
   }
 
   virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
--