diff options
Diffstat (limited to 'third_party/aom/aom_dsp/daalaboolreader.h')
-rw-r--r-- | third_party/aom/aom_dsp/daalaboolreader.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/aom/aom_dsp/daalaboolreader.h b/third_party/aom/aom_dsp/daalaboolreader.h index 428d74db0..55ff8d3d5 100644 --- a/third_party/aom/aom_dsp/daalaboolreader.h +++ b/third_party/aom/aom_dsp/daalaboolreader.h @@ -45,11 +45,7 @@ uint32_t aom_daala_reader_tell_frac(const daala_reader *r); static INLINE int aom_daala_read(daala_reader *r, int prob) { int bit; -#if CONFIG_EC_SMALLMUL int p = (0x7FFFFF - (prob << 15) + prob) >> 8; -#else - int p = ((prob << 15) + 256 - prob) >> 8; -#endif #if CONFIG_BITSTREAM_DEBUG /*{ const int queue_r = bitstream_queue_get_read(); @@ -113,6 +109,7 @@ static INLINE int aom_daala_reader_has_error(daala_reader *r) { static INLINE int daala_read_symbol(daala_reader *r, const aom_cdf_prob *cdf, int nsymbs) { int symb; + assert(cdf != NULL); symb = od_ec_decode_cdf_q15(&r->ec, cdf, nsymbs); #if CONFIG_BITSTREAM_DEBUG |