ref: d75da2e1726655ab41c82659e8655ef842fb4656
parent: b644eb9f446c89a25b26a19882f394b6f3711d64
parent: 75290d9bc36b49ce67e599939273079f98d94807
author: Jim Bankoski <[email protected]>
date: Fri Aug 22 09:40:51 EDT 2014
Merge "vp9_cx_iface.c: spatial_svc resolve missing initializer warning"
--- 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;