Only exclude VP8 when it is included

If configured with --disable-vp8 kVP8TestVectors is undefined.

Change-Id: I9d83e805923977ab057ab48042580ce0d817ba68
This commit is contained in:
Johann 2013-12-17 18:27:04 -08:00
Родитель ea8482fe74
Коммит af416c4daf
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -232,8 +232,10 @@ TEST_P(ExternalFrameBufferMD5Test, ExtFBMD5Match) {
const int num_buffers = 13;
set_num_buffers(num_buffers);
#if CONFIG_VP8_DECODER
// Tell compiler we are not using kVP8TestVectors.
(void)libvpx_test::kVP8TestVectors;
#endif
// Open compressed video file.
if (filename.substr(filename.length() - 3, 3) == "ivf") {