Fix ubsan warning: vp9/encoder/vp9_encodeframe.c
BUG=webm:1219 Change-Id: I29b896c7f61abf871d7853b1d8200aa5a9f6a95c
This commit is contained in:
parent
754eb95105
commit
40477f1f70
@ -134,7 +134,7 @@ unsigned int vp9_high_get_sby_perpixel_variance(
|
||||
0, &sse);
|
||||
break;
|
||||
}
|
||||
return ROUND_POWER_OF_TWO(var, num_pels_log2_lookup[bs]);
|
||||
return ROUND_POWER_OF_TWO((int64_t)var, num_pels_log2_lookup[bs]);
|
||||
}
|
||||
#endif // CONFIG_VP9_HIGHBITDEPTH
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user