Commit 7ae32692 authored by Jim Bankoski's avatar Jim Bankoski

vpxdec.c : resolve uninitialized member warning

Change-Id: Icd07ee241b1e36bb4c9e40e592bae259e65f2ce4
parent f274ac7d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment