From 0078d2f3dc2b932f4eb8128d32473a84af1bde26 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 5 Nov 2012 18:09:07 -0800 Subject: [PATCH] vp9/encoder/bitstream.c: fix unused variable warnings Change-Id: Ibfac7e000509d2017eac9a108060e534a19fec33 --- vp9/encoder/bitstream.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vp9/encoder/bitstream.c b/vp9/encoder/bitstream.c index f6046dc..b3ed6cd 100644 --- a/vp9/encoder/bitstream.c +++ b/vp9/encoder/bitstream.c @@ -186,7 +186,6 @@ static int get_binary_prob(int n0, int n1) { void vp9_update_skip_probs(VP9_COMP *cpi) { VP9_COMMON *const pc = &cpi->common; - int prob_skip_false[3] = {0, 0, 0}; int k; for (k = 0; k < MBSKIP_CONTEXTS; ++k) { @@ -1313,7 +1312,6 @@ static void write_mb_modes_kf(const VP9_COMMON *c, const MODE_INFO *m, int mode_info_stride, vp9_writer *const bc) { - const int mis = mode_info_stride; int ym; int segment_id; @@ -1329,6 +1327,7 @@ static void write_mb_modes_kf(const VP9_COMMON *c, (vp9_get_segdata(xd, segment_id, SEG_LVL_EOB) != 0))) { int skip_coeff = m->mbmi.mb_skip_coeff; #if CONFIG_SUPERBLOCKS + const int mis = mode_info_stride; if (m->mbmi.encoded_as_sb) { skip_coeff &= m[1].mbmi.mb_skip_coeff; skip_coeff &= m[mis].mbmi.mb_skip_coeff; -- 2.7.4