ref: 17ea6ab67bd87bf0e0493ec604f72bab8ee9b239
parent: 2784a8fd24d8468ef793c89dfd9deb9b7c0caf8a
author: Deb Mukherjee <debargha@google.com>
date: Wed Aug 13 04:41:40 EDT 2014
Initialization to prevent asan failure on google3 Reinstates an assignment to prevent an asan failurere on google3. Not sure why the failure happens. This was removed in a recent patch https://gerrit.chromium.org/gerrit/#/c/71068/. Change-Id: Ifd9ccffd4c2164f4de38b21821ffb28bd779b0f3
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -538,7 +538,7 @@
struct VpxDecInputContext input = {NULL, NULL};
struct VpxInputContext vpx_input_ctx;
#if CONFIG_WEBM_IO
- struct WebmInputContext webm_ctx;
+ struct WebmInputContext webm_ctx = {0};
input.webm_ctx = &webm_ctx;
#endif
input.vpx_input_ctx = &vpx_input_ctx;
--
⑨