]> granicus.if.org Git - libvpx/commitdiff
fixed an encoder bug in experimental branch
authorYaowu Xu <yaowu@google.com>
Wed, 9 Nov 2011 23:26:41 +0000 (15:26 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 9 Nov 2011 23:26:41 +0000 (15:26 -0800)
the bug causes experimental branch to produce invalid bitstream when
extend_qrange option is on.

Change-Id: Iba294980759f13e4ae071f29fb44e292533f0d7e

vp8/common/entropy.c

index 0f8a7898e0d1412e1b46a51e1b832d681c725eb3..652450c784196e41653c09cff40849871e151445 100644 (file)
@@ -103,7 +103,7 @@ static const Prob Pcat5[] = { 180, 157, 141, 134, 130};
 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()
 {