ref: e7135e9d1c3e4833f8d21a9fd2db7f2e8eb9a1f2
parent: 669e388e780b92742198662a6a7cd64cf480e8ef
author: Minghai Shang <[email protected]>
date: Tue Jul 15 07:22:28 EDT 2014
[spatial svc]Fix signed/unsigned mismatch error Change-Id: I5e3b8b1b151bc14416577f85434182cba2302679
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -178,7 +178,7 @@
#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;