]> granicus.if.org Git - libvpx/commitdiff
Remove the use of uninitialized_safe in encode_sb_
authorJingning Han <jingning@google.com>
Mon, 9 Sep 2013 22:41:16 +0000 (15:41 -0700)
committerJingning Han <jingning@google.com>
Mon, 9 Sep 2013 22:41:16 +0000 (15:41 -0700)
Initialize the probability model context with default value in
encode_sb.

Change-Id: Id826114024dfc21c7ef41aea9f4a0316d4a5cb95

vp9/encoder/vp9_encodeframe.c

index 45758e7cb495c699e6cdfe44324ca68df6d52418..ad867fb010e203d3749a5a353d1039c0e66844d5 100644 (file)
@@ -792,7 +792,7 @@ static void encode_sb(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row, int mi_col,
   MACROBLOCKD * const xd = &x->e_mbd;
   BLOCK_SIZE c1 = BLOCK_8X8;
   const int bsl = b_width_log2(bsize), bs = (1 << bsl) / 4;
-  int UNINITIALIZED_IS_SAFE(pl);
+  int pl = 0;
   PARTITION_TYPE partition;
   BLOCK_SIZE subsize;
   int i;