shithub: libvpx

Download patch

ref: 799ab7c064ec4fec8f0ea1a480f814fc4d4e97bf
parent: c12e61d5a3b6e700fd46190aeca62341ed5b5b6f
parent: 0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3
author: Yaowu Xu <[email protected]>
date: Thu Jun 16 15:40:20 EDT 2016

Merge "Fix ubsan warning: test/datarate_test.cc"

--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -90,7 +90,7 @@
           << pkt->data.frame.pts;
     }
 
-    const size_t frame_size_in_bits = pkt->data.frame.sz * 8;
+    const int64_t frame_size_in_bits = pkt->data.frame.sz * 8;
 
     // Subtract from the buffer the bits associated with a played back frame.
     bits_in_buffer_model_ -= frame_size_in_bits;