summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/vp9_frame_parallel_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vp9_frame_parallel_test.cc b/test/vp9_frame_parallel_test.cc
index b4db14e00..0e07930e0 100644
--- a/test/vp9_frame_parallel_test.cc
+++ b/test/vp9_frame_parallel_test.cc
@@ -22,6 +22,7 @@
#include "test/webm_video_source.h"
#endif
#include "vpx_mem/vpx_mem.h"
+#include "vp9/common/vp9_common.h"
namespace {
@@ -46,7 +47,8 @@ string DecodeFileWithPause(const string &filename, int num_threads,
int in_frames = 0;
int out_frames = 0;
- vpx_codec_dec_cfg_t cfg = { 0 };
+ vpx_codec_dec_cfg_t cfg;
+ vp9_zero(cfg);
cfg.threads = num_threads;
vpx_codec_flags_t flags = 0;
flags |= VPX_CODEC_USE_FRAME_THREADING;