From 18c780a0ff209940d361626c212e20b2559f48e8 Mon Sep 17 00:00:00 2001 From: Jingning Han <jingning@google.com> Date: Mon, 9 Sep 2013 15:41:16 -0700 Subject: [PATCH] Remove the use of uninitialized_safe in encode_sb_ Initialize the probability model context with default value in encode_sb. Change-Id: Id826114024dfc21c7ef41aea9f4a0316d4a5cb95 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 45758e7cb4..ad867fb010 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; -- GitLab