From: Ronald S. Bultje Date: Mon, 18 Mar 2013 21:39:36 +0000 (-0700) Subject: Fix ENTROPY_STATS code in vp9_tokenize.c. X-Git-Tag: v1.3.0~1151^2~40^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b99dce688152c714fe0bf8d6a49ba62cd7eabdf4;p=libvpx Fix ENTROPY_STATS code in vp9_tokenize.c. Change-Id: I9b4cb1e2ce6c6a99cffd473ff2fa7579bd318fcd --- diff --git a/vp9/encoder/vp9_tokenize.c b/vp9/encoder/vp9_tokenize.c index df05becb7..cead2a606 100644 --- a/vp9/encoder/vp9_tokenize.c +++ b/vp9/encoder/vp9_tokenize.c @@ -872,9 +872,8 @@ static void print_probs(FILE *f, vp9_coeff_accum *context_counters, for (t = 0; t < MAX_ENTROPY_TOKENS; ++t) coef_counts[t] = context_counters[type][ref][band][pt][t]; - vp9_tree_probs_from_distribution(MAX_ENTROPY_TOKENS, - vp9_coef_encodings, vp9_coef_tree, - coef_probs, branch_ct, coef_counts); + vp9_tree_probs_from_distribution(vp9_coef_tree, coef_probs, + branch_ct, coef_counts, 0); fprintf(f, "%s\n {", Comma(pt)); t = 0;