Merge "vp9 frame parallel test: Initialize cfg differently"

This commit is contained in:
Johann Koenig 2016-09-15 23:46:56 +00:00 committed by Gerrit Code Review
commit c53aacf408

View File

@ -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 @@ string DecodeFileWithPause(const string &filename, int num_threads,
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;