Commit e886d223 authored by Tristan Matthews's avatar Tristan Matthews

entropymode: fix sizeof mismatch

Fixes "aomenc: init_mode_probs: Assertion `sizeof(fc->motion_mode_prob)
== sizeof(default_motion_mode_prob)' failed"

Change-Id: I7b71304f50756ffd6e14b03fe338c0d624ce35c5
parent dff41923
...@@ -714,8 +714,8 @@ static const aom_prob ...@@ -714,8 +714,8 @@ static const aom_prob
const aom_tree_index av1_motion_mode_tree[TREE_SIZE(MOTION_MODES)] = { const aom_tree_index av1_motion_mode_tree[TREE_SIZE(MOTION_MODES)] = {
-SIMPLE_TRANSLATION, -OBMC_CAUSAL -SIMPLE_TRANSLATION, -OBMC_CAUSAL
}; };
static const aom_cdf_prob static const aom_prob default_motion_mode_prob[BLOCK_SIZES][MOTION_MODES - 1] =
default_motion_mode_prob[BLOCK_SIZES][MOTION_MODES - 1] = { {
#if CONFIG_CHROMA_2X2 || CONFIG_CHROMA_SUB8X8 #if CONFIG_CHROMA_2X2 || CONFIG_CHROMA_SUB8X8
{ 255 }, { 255 }, { 255 }, { 255 }, { 255 }, { 255 },
#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