shithub: libvpx

Download patch

ref: c53aacf40899820d51050335cf9b90f1f74da87f
parent: 4c1a9fb8db04da8f09543ee3b224b9f59fa63e61
parent: 284cb5314ed97cbf4bd19cbb55a664a124392ba3
author: Johann Koenig <johannkoenig@google.com>
date: Thu Sep 15 19:46:56 EDT 2016

Merge "vp9 frame parallel test: Initialize cfg differently"

--- 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;