shithub: libvpx

Download patch

ref: 577221bc87bdc39639b89f9ae7cbcd70e9af4c85
parent: fb020805f951b56e55ed58cff70e9824501d92ff
parent: fca2196a2e362394351b1a2e6e90a9a3cd88a722
author: James Zern <jzern@google.com>
date: Mon Oct 3 18:51:06 EDT 2016

Merge "invalid_file_test: quiet unused const warning"

--- a/test/invalid_file_test.cc
+++ b/test/invalid_file_test.cc
@@ -120,6 +120,7 @@
 
 TEST_P(InvalidFileTest, ReturnCode) { RunTest(); }
 
+#if CONFIG_VP9_DECODER
 const DecodeParam kVP9InvalidFileTests[] = {
   { 1, "invalid-vp90-02-v2.webm" },
 #if CONFIG_VP9_HIGHBITDEPTH
@@ -147,6 +148,7 @@
 
 VP9_INSTANTIATE_TEST_CASE(InvalidFileTest,
                           ::testing::ValuesIn(kVP9InvalidFileTests));
+#endif  // CONFIG_VP9_DECODER
 
 // This class will include test vectors that are expected to fail
 // peek. However they are still expected to have no fatal failures.