Commit aee577b6 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Fix ubsan warning: vp9/encoder/vp9_encodeframe.c"

parents 6929ab0b 40477f1f
......@@ -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