shithub: libvpx

Download patch

ref: 5825f942bcf625ae6d6b4cc653589c9cf89f84e6
parent: fa454ade9333e0cc101098f1b52be680a1b903bb
author: Yaowu Xu <yaowu@google.com>
date: Wed Nov 9 10:26:41 EST 2011

fixed an encoder bug in experimental branch

the bug causes experimental branch to produce invalid bitstream when
extend_qrange option is on.

Change-Id: Iba294980759f13e4ae071f29fb44e292533f0d7e

--- a/vp8/common/entropy.c
+++ b/vp8/common/entropy.c
@@ -103,7 +103,7 @@
 static const Prob Pcat6[] =
 { 254, 254, 252, 249, 243, 230, 196, 177, 153, 140, 133, 130, 129};
 
-static vp8_tree_index cat1[2], cat2[4], cat3[6], cat4[8], cat5[10], cat6[22];
+static vp8_tree_index cat1[2], cat2[4], cat3[6], cat4[8], cat5[10], cat6[26];
 
 void vp8_init_scan_order_mask()
 {
--