shithub: libvpx

Download patch

ref: 284cb5314ed97cbf4bd19cbb55a664a124392ba3
parent: ee01b78ddd88a9156d6b926fc932d3cdfc070df9
author: Johann <[email protected]>
date: Thu Sep 15 08:19:25 EDT 2016

vp9 frame parallel test: Initialize cfg differently

Use the canonical 'vpx_codec_dec_cfg_t()' as opposed to 'vp9_zero()'
which just hammered everything to 0.

Change-Id: Id820efef700ad92a625797f8fd58e465b15eeca4

--- a/test/vp9_frame_parallel_test.cc
+++ b/test/vp9_frame_parallel_test.cc
@@ -22,7 +22,6 @@
 #include "test/webm_video_source.h"
 #endif
 #include "vpx_mem/vpx_mem.h"
-#include "vp9/common/vp9_common.h"
 
 namespace {
 
@@ -47,8 +46,7 @@
   int in_frames = 0;
   int out_frames = 0;
 
-  vpx_codec_dec_cfg_t cfg;
-  vp9_zero(cfg);
+  vpx_codec_dec_cfg_t cfg = vpx_codec_dec_cfg_t();
   cfg.threads = num_threads;
   vpx_codec_flags_t flags = 0;
   flags |= VPX_CODEC_USE_FRAME_THREADING;