Commit e7135e9d authored by Minghai Shang's avatar Minghai Shang
Browse files

[spatial svc]Fix signed/unsigned mismatch error

Change-Id: I5e3b8b1b151bc14416577f85434182cba2302679
Showing with 1 addition and 1 deletion
...@@ -178,7 +178,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, ...@@ -178,7 +178,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
#ifdef CONFIG_SPATIAL_SVC #ifdef CONFIG_SPATIAL_SVC
if (cfg->ss_number_layers > 1) { 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) { for (i = 0; i < cfg->ss_number_layers; ++i) {
if (cfg->ss_enable_auto_alt_ref[i]) if (cfg->ss_enable_auto_alt_ref[i])
++alt_ref_sum; ++alt_ref_sum;
......
Supports Markdown
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