Commit c71d6130 authored by Angie Chiang's avatar Angie Chiang Committed by Yaowu Xu

Fix bitstream error when entropy and adapt_scan on

BUG=aomedia:310

Change-Id: I8e1a1c6d59e3d14ba132d2bbf4e203da26538bde
parent 61418bbd
......@@ -4035,6 +4035,10 @@ void av1_adapt_coef_probs(AV1_COMMON *cm) {
for (tx_size = 0; tx_size < TX_SIZES; tx_size++)
adapt_coef_probs(cm, tx_size, count_sat, update_factor);
#if CONFIG_ENTROPY
if (cm->partial_prob_update == 0)
#endif
{
#if CONFIG_ADAPT_SCAN
for (tx_size = 0; tx_size < TX_SIZES_ALL; ++tx_size) {
#if !(CONFIG_VAR_TX || CONFIG_RECT_TX)
......@@ -4048,6 +4052,7 @@ void av1_adapt_coef_probs(AV1_COMMON *cm) {
}
}
#endif
}
}
#if CONFIG_ENTROPY
......
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