Match prev_ to number_of_layers
Defined as unsigned in VP8_CONFIG Cleans warning in Android build: comparison of integers of different signs: 'unsigned int' and 'int' if (cpi->oxcf.number_of_layers != prev_number_of_layers) ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ Change-Id: I969e64cd2bfda6e61c564476dbd35b892b177646
This commit is contained in:
parent
95d29675b2
commit
c93d30a47f
@ -1523,7 +1523,8 @@ static void update_layer_contexts (VP8_COMP *cpi)
|
|||||||
void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf)
|
void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf)
|
||||||
{
|
{
|
||||||
VP8_COMMON *cm = &cpi->common;
|
VP8_COMMON *cm = &cpi->common;
|
||||||
int last_w, last_h, prev_number_of_layers;
|
int last_w, last_h;
|
||||||
|
unsigned int prev_number_of_layers;
|
||||||
|
|
||||||
if (!cpi)
|
if (!cpi)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user