From 7ae326923ea3f90c477c43e6820989df052375c0 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Tue, 19 Aug 2014 06:44:10 -0700 Subject: [PATCH] vpxdec.c : resolve uninitialized member warning Change-Id: Icd07ee241b1e36bb4c9e40e592bae259e65f2ce4 --- vpxdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vpxdec.c b/vpxdec.c index faee42a0b..1b4872da3 100644 --- a/vpxdec.c +++ b/vpxdec.c @@ -538,7 +538,8 @@ int main_loop(int argc, const char **argv_) { 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;