From e7135e9d1c3e4833f8d21a9fd2db7f2e8eb9a1f2 Mon Sep 17 00:00:00 2001 From: Minghai Shang Date: Tue, 15 Jul 2014 11:22:28 -0700 Subject: [PATCH] [spatial svc]Fix signed/unsigned mismatch error Change-Id: I5e3b8b1b151bc14416577f85434182cba2302679 --- vp9/vp9_cx_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 86d5595..2522fd0 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -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; -- 2.7.4