Commit 6043bfdb authored by Yaowu Xu's avatar Yaowu Xu

Change to use correct variable in for-loop

Change-Id: I252c2f06dfe256d2d33fd1abc42aaadf50273cc8
parent b386f0b7
......@@ -1463,8 +1463,8 @@ void av1_set_mode_cdfs(struct AV1Common *cm) {
}
for (i = 0; i < INTRA_MODES; ++i)
av1_tree_to_cdf(av1_intra_mode_tree, fc->uv_mode_prob[j],
fc->uv_mode_cdf[j]);
av1_tree_to_cdf(av1_intra_mode_tree, fc->uv_mode_prob[i],
fc->uv_mode_cdf[i]);
for (i = 0; i < PARTITION_CONTEXTS; ++i)
av1_tree_to_cdf(av1_partition_tree, fc->partition_prob[i],
......
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