shithub: libvpx

Download patch

ref: 64988cee43a3afbdd31fe2a5ac2a88212202e6f8
parent: 83eff950adde46235bf973474f746afbf9457989
parent: 7ae326923ea3f90c477c43e6820989df052375c0
author: Jim Bankoski <[email protected]>
date: Tue Aug 19 05:59:23 EDT 2014

Merge "vpxdec.c : resolve uninitialized member warning"

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