Fix mix-up in pt token indexing.
This fixes uninitialized reads in the trellis, and probably makes the trellis do something again. Change-Id: Ifac8dae9aa77574bde0954a71d4571c5c556df3c
This commit is contained in:
@@ -291,7 +291,7 @@ static void tokenize_b(VP9_COMP *cpi,
|
||||
#endif
|
||||
token_cache[c] = token;
|
||||
|
||||
pt = vp9_get_coef_context(scan, nb, pad, token_cache, c, default_eob);
|
||||
pt = vp9_get_coef_context(scan, nb, pad, token_cache, c + 1, default_eob);
|
||||
++t;
|
||||
} while (c < eob && ++c < seg_eob);
|
||||
#if CONFIG_CODE_NONZEROCOUNT
|
||||
|
||||
Reference in New Issue
Block a user