Commit 6d85b120 authored by Minghai Shang's avatar Minghai Shang Committed by Gerrit Code Review

Merge "[spatial svc]Fix signed/unsigned mismatch error"

parents 257f16cc e7135e9d
......@@ -178,7 +178,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
#ifdef CONFIG_SPATIAL_SVC
if (cfg->ss_number_layers > 1) {
int i, alt_ref_sum = 0;
unsigned int i, alt_ref_sum = 0;
for (i = 0; i < cfg->ss_number_layers; ++i) {
if (cfg->ss_enable_auto_alt_ref[i])
++alt_ref_sum;
......
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