Commit 870a72d6 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Fix failing TestBitIO test with --enable-daala_ec." into nextgenv2

parents e94767ae e58781d3
......@@ -68,11 +68,13 @@ TEST(AV1, TestBitIO) {
// First bit should be zero
GTEST_ASSERT_EQ(bw_buffer[0] & 0x80, 0);
aom_reader br;
aom_reader_init(&br, bw_buffer, kBufferSize, NULL, NULL);
aom_reader_init(&br, bw_buffer, bw.pos, NULL, NULL);
for (int i = 0; i < kBitsToTest; ++i) {
if (bit_method == 2) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment