Commit 354e70dc authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix ubsan warning: vp8/encoder/onyx_ifc


Change-Id: I4362a1cf79fdcb478b29ddbcdf8091c5f5d10645
parent 1387f555
......@@ -5222,7 +5222,7 @@ static void Pass2Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest,
encode_frame_to_data_rate(cpi, size, dest, dest_end, frame_flags);
cpi->twopass.bits_left -= 8 * *size;
cpi->twopass.bits_left -= 8 * (int)(*size);
if (!cpi->common.refresh_alt_ref_frame)
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