ref: 75290d9bc36b49ce67e599939273079f98d94807
parent: 812506b80c4dfe6600038933a47ccef6ec3faa94
author: Jim Bankoski <[email protected]>
date: Fri Aug 22 06:47:17 EDT 2014
vp9_cx_iface.c: spatial_svc resolve missing initializer warning Change-Id: I3f56a4d64828a74c370a5b3247a5f00e554a922c
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -978,8 +978,9 @@
cx_data_sz -= size;
#if CONFIG_SPATIAL_SVC
if (is_spatial_svc(cpi)) {
- vpx_codec_cx_pkt_t pkt = {0};
+ vpx_codec_cx_pkt_t pkt;
int i;
+ vp9_zero(pkt);
pkt.kind = VPX_CODEC_SPATIAL_SVC_LAYER_SIZES;
for (i = 0; i < cpi->svc.number_spatial_layers; ++i) {
pkt.data.layer_sizes[i] = cpi->svc.layer_context[i].layer_size;