]> granicus.if.org Git - libvpx/commitdiff
Fix ENTROPY_STATS code in vp9_tokenize.c.
authorRonald S. Bultje <rbultje@google.com>
Mon, 18 Mar 2013 21:39:36 +0000 (14:39 -0700)
committerRonald S. Bultje <rbultje@google.com>
Mon, 18 Mar 2013 22:39:04 +0000 (15:39 -0700)
Change-Id: I9b4cb1e2ce6c6a99cffd473ff2fa7579bd318fcd

vp9/encoder/vp9_tokenize.c

index df05becb7ec7ce60a1b965b3b964c02d5b36bb7a..cead2a6069996b37a96b5cc16931f830e07011f6 100644 (file)
@@ -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;