ref: 817ac44aa28cdbe8d2c98c753f3066605df8a873
parent: dbf61d2f0139f92f93c03ce16a15279e9e5007a0
parent: eccad3897e24f291ec162920421b899d4738b094
author: Yaowu Xu <[email protected]>
date: Mon May 12 07:05:48 EDT 2014
Merge "Fixed comparison of different int types"
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -42,7 +42,7 @@
};
struct extraconfig_map {
- int usage;
+ unsigned int usage;
struct vp9_extracfg cfg;
};
@@ -245,7 +245,8 @@
layer_id = (int)stats->spatial_layer_id;
if (layer_id >= cfg->ss_number_layers
- ||(int)(stats->count + 0.5) != n_packets_per_layer[layer_id] - 1)
+ ||(unsigned int)(stats->count + 0.5) !=
+ n_packets_per_layer[layer_id] - 1)
ERROR("rc_twopass_stats_in missing EOS stats packet");
}
} else {