summaryrefslogtreecommitdiff
path: root/test/test_libvpx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_libvpx.cc')
-rw-r--r--test/test_libvpx.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/test_libvpx.cc b/test/test_libvpx.cc
index fc035af8f..dcf5fc52b 100644
--- a/test/test_libvpx.cc
+++ b/test/test_libvpx.cc
@@ -14,11 +14,12 @@
#endif
extern "C" {
#if CONFIG_VP8
-extern void vp8_rtcd();
-#endif
+#include "./vp8_rtcd.h"
+#endif // CONFIG_VP8
#if CONFIG_VP9
-extern void vp9_rtcd();
-#endif
+#include "./vp9_rtcd.h"
+#endif // CONFIG_VP9
+#include "./vpx_scale_rtcd.h"
}
#include "third_party/googletest/src/include/gtest/gtest.h"
@@ -59,11 +60,12 @@ int main(int argc, char **argv) {
#if CONFIG_VP8
vp8_rtcd();
-#endif
+#endif // CONFIG_VP8
#if CONFIG_VP9
vp9_rtcd();
-#endif
-#endif
+#endif // CONFIG_VP9
+ vpx_scale_rtcd();
+#endif // !CONFIG_SHARED
return RUN_ALL_TESTS();
}