shithub: libvpx

Download patch

ref: 7ae326923ea3f90c477c43e6820989df052375c0
parent: f274ac7df50f7a4c62ce04a6330d74f9899a38a5
author: Jim Bankoski <[email protected]>
date: Tue Aug 19 02:44:10 EDT 2014

vpxdec.c : resolve uninitialized member warning

Change-Id: Icd07ee241b1e36bb4c9e40e592bae259e65f2ce4

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -538,7 +538,8 @@
   struct VpxDecInputContext input = {NULL, NULL};
   struct VpxInputContext vpx_input_ctx;
 #if CONFIG_WEBM_IO
-  struct WebmInputContext webm_ctx = {0};
+  struct WebmInputContext webm_ctx;
+  memset(&(webm_ctx), 0, sizeof(webm_ctx));
   input.webm_ctx = &webm_ctx;
 #endif
   input.vpx_input_ctx = &vpx_input_ctx;