Use MV_FP_SIZE based constant instead of 3.

Change-Id: I90ef3b49b499c2ac9c24797467cb4eb194fdf23b
This commit is contained in:
Nathan E. Egge
2016-09-08 15:38:57 -04:00
committed by Yaowu Xu
parent 68cb657e92
commit ac499f352e

View File

@@ -217,7 +217,7 @@ static void read_mv_probs(nmv_context *ctx, int allow_hp, aom_reader *r) {
nmv_component *const comp_ctx = &ctx->comps[i];
for (j = 0; j < CLASS0_SIZE; ++j)
update_mv_probs(comp_ctx->class0_fp[j], MV_FP_SIZE - 1, r);
update_mv_probs(comp_ctx->fp, 3, r);
update_mv_probs(comp_ctx->fp, MV_FP_SIZE - 1, r);
}
if (allow_hp) {