projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669e388
)
[spatial svc]Fix signed/unsigned mismatch error
author
Minghai Shang
<minghai@google.com>
Tue, 15 Jul 2014 18:22:28 +0000
(11:22 -0700)
committer
Minghai Shang
<minghai@google.com>
Tue, 15 Jul 2014 18:22:28 +0000
(11:22 -0700)
Change-Id: I5e3b8b1b151bc14416577f85434182cba2302679
vp9/vp9_cx_iface.c
patch
|
blob
|
history
diff --git
a/vp9/vp9_cx_iface.c
b/vp9/vp9_cx_iface.c
index
86d5595
..
2522fd0
100644
(file)
--- 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;