summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2013-02-22 15:38:45 -0800
committerJames Zern <jzern@google.com>2013-02-22 15:38:45 -0800
commitca64f6c14f47fed2959f811dad756ff8fcc27eef (patch)
tree3660a73d019bd130a92fb256792f97c6c44060a6 /vp8/encoder
parente4ef85082336a52c0c26fb7e16b86edc4006403c (diff)
downloadlibvpx-ca64f6c14f47fed2959f811dad756ff8fcc27eef.tar
libvpx-ca64f6c14f47fed2959f811dad756ff8fcc27eef.tar.gz
libvpx-ca64f6c14f47fed2959f811dad756ff8fcc27eef.tar.bz2
libvpx-ca64f6c14f47fed2959f811dad756ff8fcc27eef.zip
vp8/encoder/mcomp.c: remove an unused variable
Change-Id: I980da3c70f7cee1b723ede0ed2ae527ac7cd6a51
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/mcomp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vp8/encoder/mcomp.c b/vp8/encoder/mcomp.c
index b08c7a589..a34af6428 100644
--- a/vp8/encoder/mcomp.c
+++ b/vp8/encoder/mcomp.c
@@ -235,13 +235,12 @@ int vp8_find_best_sub_pixel_step_iteratively(MACROBLOCK *x, BLOCK *b, BLOCKD *d,
MACROBLOCKD *xd = &x->e_mbd;
unsigned char *y0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
unsigned char *y;
- int buf_r1, buf_r2, buf_c1, buf_c2;
+ int buf_r1, buf_r2, buf_c1;
/* Clamping to avoid out-of-range data access */
buf_r1 = ((bestmv->as_mv.row - 3) < x->mv_row_min)?(bestmv->as_mv.row - x->mv_row_min):3;
buf_r2 = ((bestmv->as_mv.row + 3) > x->mv_row_max)?(x->mv_row_max - bestmv->as_mv.row):3;
buf_c1 = ((bestmv->as_mv.col - 3) < x->mv_col_min)?(bestmv->as_mv.col - x->mv_col_min):3;
- buf_c2 = ((bestmv->as_mv.col + 3) > x->mv_col_max)?(x->mv_col_max - bestmv->as_mv.col):3;
y_stride = 32;
/* Copy to intermediate buffer before searching. */