shithub: libvpx

Download patch

ref: 85e111b3ba5a80fa444868118a5cf7a265e37f50
parent: 8ff40f8beccf17234240acedb8966b5634fb0c6e
parent: f7032713af6271f7aab16165c437b6d89e4e8f52
author: Yaowu Xu <yaowu@google.com>
date: Wed Aug 3 16:53:04 EDT 2016

Merge "vp9 svc: Fix a valgrind error."

--- a/examples/vpx_temporal_svc_encoder.c
+++ b/examples/vpx_temporal_svc_encoder.c
@@ -706,6 +706,7 @@
     vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1);
   } else if (strncmp(encoder->name, "vp9", 3) == 0) {
     vpx_svc_extra_cfg_t svc_params;
+    memset(&svc_params, 0, sizeof(svc_params));
     vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed);
     vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
     vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0);