shithub: libvpx

Download patch

ref: b99dce688152c714fe0bf8d6a49ba62cd7eabdf4
parent: 449f136886e96fcf448bf9b68952977da703c614
author: Ronald S. Bultje <rbultje@google.com>
date: Mon Mar 18 10:39:36 EDT 2013

Fix ENTROPY_STATS code in vp9_tokenize.c.

Change-Id: I9b4cb1e2ce6c6a99cffd473ff2fa7579bd318fcd

--- a/vp9/encoder/vp9_tokenize.c
+++ b/vp9/encoder/vp9_tokenize.c
@@ -872,9 +872,8 @@
 
           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;
--