Commit 40477f1f authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix ubsan warning: vp9/encoder/vp9_encodeframe.c


Change-Id: I29b896c7f61abf871d7853b1d8200aa5a9f6a95c
parent 754eb951
......@@ -134,7 +134,7 @@ unsigned int vp9_high_get_sby_perpixel_variance(
0, &sse);
return ROUND_POWER_OF_TWO(var, num_pels_log2_lookup[bs]);
return ROUND_POWER_OF_TWO((int64_t)var, num_pels_log2_lookup[bs]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment