Commit 67b9921b authored by Nathan E. Egge's avatar Nathan E. Egge Committed by Nathan Egge
Browse files

Fix aom_write_bit() to match aom_read_bit().

The aom_write_bit() was not calling buf_uabs_write_bit() while the
 aom_read_bit() function was calling uabs_read_bit().

Change-Id: If98975341472988e8d809aa80a647d7a2531e21e
parent 08c99eb3
......@@ -112,7 +112,9 @@ static INLINE void aom_write_record(aom_writer *br, int bit, int probability,
}
static INLINE void aom_write_bit(aom_writer *w, int bit) {
#if CONFIG_DAALA_EC
#if CONFIG_ANS
buf_uabs_write_bit(w, bit);
#elif CONFIG_DAALA_EC
aom_daala_write_bit(w, bit);
#else
aom_write(w, bit, 128); // aom_prob_half
......
Markdown is supported
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