Commit c6469232 authored by Jonathan Matthews's avatar Jonathan Matthews

Fix compilation for

 CONFIG_DELTA_Q &&
 !CONFIG_EC_ADAPT &&
 !CONFIG_EXT_DELTA_Q

Introduced in
  Ic42f60e19c56db52dd51b3784fd305c7e6b595c7

BUG=aomedia:616

Change-Id: Id0af560914d6b32c467dbb773d9462a089260944
parent 0ba49a58
......@@ -5001,16 +5001,16 @@ static int read_compressed_header(AV1Decoder *pbi, const uint8_t *data,
#if CONFIG_DELTA_Q && !CONFIG_EC_ADAPT
#if CONFIG_EXT_DELTA_Q
if (cm->delta_q_present_flag) {
for (k = 0; k < DELTA_Q_PROBS; ++k)
av1_diff_update_prob(&r, &fc->delta_q_prob[k], ACCT_STR);
for (i = 0; i < DELTA_Q_PROBS; ++i)
av1_diff_update_prob(&r, &fc->delta_q_prob[i], ACCT_STR);
}
if (cm->delta_lf_present_flag) {
for (k = 0; k < DELTA_LF_PROBS; ++k)
av1_diff_update_prob(&r, &fc->delta_lf_prob[k], ACCT_STR);
for (i = 0; i < DELTA_LF_PROBS; ++i)
av1_diff_update_prob(&r, &fc->delta_lf_prob[i], ACCT_STR);
}
#else
for (k = 0; k < DELTA_Q_PROBS; ++k)
av1_diff_update_prob(&r, &fc->delta_q_prob[k], ACCT_STR);
for (i = 0; i < DELTA_Q_PROBS; ++i)
av1_diff_update_prob(&r, &fc->delta_q_prob[i], ACCT_STR);
#endif
#endif
......
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