Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
0cb7f545
Commit
0cb7f545
authored
Jun 16, 2016
by
Yaowu Xu
Browse files
Fix ubsan warning: test/datarate_test.cc
BUG=webm:1219 Change-Id: I48470a885cd64a60636a982cd68165c41a702306
parent
159dd0cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/datarate_test.cc
View file @
0cb7f545
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment