Commit e58781d3 authored by Nathan Egge's avatar Nathan Egge Committed by Yaowu Xu
Browse files

Fix failing TestBitIO test with --enable-daala_ec.

Change-Id: I6a885b7c6315261d67a9c2fcde914206b8301f4a
parent b244f396
......@@ -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