vp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings.
Use unsigned loop counters in set_roi_map() and set_active_map(). Change-Id: I9bbaed38b51ef73b82ba4ad4c4bc18ca5d2399f9
This commit is contained in:
parent
33bb443550
commit
560119c4bc
@ -62,7 +62,7 @@ void usage_exit() {
|
||||
|
||||
static void set_roi_map(const vpx_codec_enc_cfg_t *cfg,
|
||||
vpx_codec_ctx_t *codec) {
|
||||
int i;
|
||||
unsigned int i;
|
||||
vpx_roi_map_t roi = {0};
|
||||
|
||||
roi.rows = cfg->g_h / 16;
|
||||
@ -95,7 +95,7 @@ static void set_roi_map(const vpx_codec_enc_cfg_t *cfg,
|
||||
|
||||
static void set_active_map(const vpx_codec_enc_cfg_t *cfg,
|
||||
vpx_codec_ctx_t *codec) {
|
||||
int i;
|
||||
unsigned int i;
|
||||
vpx_active_map_t map = {0};
|
||||
|
||||
map.rows = cfg->g_h / 16;
|
||||
|
Loading…
x
Reference in New Issue
Block a user