ref: f180945c18e86dfde8538f38f44d9839f34bf47c
parent: 77318b0aecddad53390b3766b1f51902c20dd642
parent: 354e70dc786ddc05a797ccd5571739e458c2974d
author: Yaowu Xu <[email protected]>
date: Thu Jun 16 12:44:41 EDT 2016
Merge "Fix ubsan warning: vp8/encoder/onyx_ifc"
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -5222,7 +5222,7 @@
vp8_second_pass(cpi);
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)
{