shithub: libvpx

Download patch

ref: 080bb149a828f51f4d6fd67a43eafee9b08a2fe6
parent: 69872a76ba4c6840294ed1f7ca65876bc4d98369
parent: 9cf2e851d97babc3cb2f9b0eee2b418322c79fce
author: Johann Koenig <johannkoenig@google.com>
date: Mon Jan 7 18:26:32 EST 2019

Merge "vp9 intra pred test: resolve -Wuninitialized warning"

--- a/test/vp9_intrapred_test.cc
+++ b/test/vp9_intrapred_test.cc
@@ -130,6 +130,12 @@
   RunTest(left_col, above_data, dst, ref_dst);
 }
 
+// Instantiate a token test to avoid -Wuninitialized warnings when none of the
+// other tests are enabled.
+INSTANTIATE_TEST_CASE_P(
+    C, VP9IntraPredTest,
+    ::testing::Values(IntraPredParam(&vpx_d45_predictor_4x4_c,
+                                     &vpx_d45_predictor_4x4_c, 4, 8)));
 #if HAVE_SSE2
 INSTANTIATE_TEST_CASE_P(
     SSE2, VP9IntraPredTest,