Skip to content
GitLab
Menu
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
870a72d6
Commit
870a72d6
authored
Oct 19, 2016
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 19, 2016
Browse files
Merge "Fix failing TestBitIO test with --enable-daala_ec." into nextgenv2
parents
e94767ae
e58781d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/boolcoder_test.cc
View file @
870a72d6
...
...
@@ -68,11 +68,13 @@ TEST(AV1, TestBitIO) {
aom_stop_encode
(
&
bw
);
#if !CONFIG_DAALA_EC
// First bit should be zero
GTEST_ASSERT_EQ
(
bw_buffer
[
0
]
&
0x80
,
0
);
#endif
aom_reader
br
;
aom_reader_init
(
&
br
,
bw_buffer
,
kBufferSize
,
NULL
,
NULL
);
aom_reader_init
(
&
br
,
bw_buffer
,
bw
.
pos
,
NULL
,
NULL
);
bit_rnd
.
Reset
(
random_seed
);
for
(
int
i
=
0
;
i
<
kBitsToTest
;
++
i
)
{
if
(
bit_method
==
2
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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