Commit 64988cee authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

Merge "vpxdec.c : resolve uninitialized member warning"

parents 83eff950 7ae32692
...@@ -538,7 +538,8 @@ int main_loop(int argc, const char **argv_) { ...@@ -538,7 +538,8 @@ int main_loop(int argc, const char **argv_) {
struct VpxDecInputContext input = {NULL, NULL}; struct VpxDecInputContext input = {NULL, NULL};
struct VpxInputContext vpx_input_ctx; struct VpxInputContext vpx_input_ctx;
#if CONFIG_WEBM_IO #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; input.webm_ctx = &webm_ctx;
#endif #endif
input.vpx_input_ctx = &vpx_input_ctx; 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