From: Jingning Han Date: Mon, 9 Sep 2013 22:41:16 +0000 (-0700) Subject: Remove the use of uninitialized_safe in encode_sb_ X-Git-Tag: v1.3.0~462^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18c780a0ff209940d361626c212e20b2559f48e8;p=libvpx Remove the use of uninitialized_safe in encode_sb_ Initialize the probability model context with default value in encode_sb. Change-Id: Id826114024dfc21c7ef41aea9f4a0316d4a5cb95 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 45758e7cb..ad867fb01 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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;