diff options
author | Yaowu Xu <yaowu@google.com> | 2016-06-16 08:57:29 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2016-06-16 11:25:21 -0700 |
commit | 0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3 (patch) | |
tree | 4252f8cac97e9dc8df1bab2e0d0252c950cecee3 /test | |
parent | 159dd0cc395e1be12c28d994af0dbd4407448e01 (diff) | |
download | libvpx-0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3.tar libvpx-0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3.tar.gz libvpx-0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3.tar.bz2 libvpx-0cb7f545ad07e8a1852a05c7b07c4d4e6d4690d3.zip |
Fix ubsan warning: test/datarate_test.cc
BUG=webm:1219
Change-Id: I48470a885cd64a60636a982cd68165c41a702306
Diffstat (limited to 'test')
-rw-r--r-- | test/datarate_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/datarate_test.cc b/test/datarate_test.cc index 3941e16fc..2f1db9c64 100644 --- a/test/datarate_test.cc +++ b/test/datarate_test.cc @@ -90,7 +90,7 @@ class DatarateTestLarge : public ::libvpx_test::EncoderTest, << 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; |