summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_rdopt.c
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2014-09-24 18:27:44 -0700
committerJingning Han <jingning@google.com>2014-09-24 18:27:44 -0700
commit6989e81d611b438c21cab5576d01b1b30c5b1e34 (patch)
treed9be3daea2ee679cebe3c6f58885dd2fc40409ea /vp9/encoder/vp9_rdopt.c
parent22d8c156f946bed1ac6fccd893f9a4d10e206b50 (diff)
downloadlibvpx-6989e81d611b438c21cab5576d01b1b30c5b1e34.tar
libvpx-6989e81d611b438c21cab5576d01b1b30c5b1e34.tar.gz
libvpx-6989e81d611b438c21cab5576d01b1b30c5b1e34.tar.bz2
libvpx-6989e81d611b438c21cab5576d01b1b30c5b1e34.zip
Remove unused variable in handle_inter_mode
Change-Id: Id757d2c940756ce1b0ead2ea24af9ac0a493de05
Diffstat (limited to 'vp9/encoder/vp9_rdopt.c')
-rw-r--r--vp9/encoder/vp9_rdopt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c
index e7403c445..0f3009ddc 100644
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2145,7 +2145,6 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
int refs[2] = { mbmi->ref_frame[0],
(mbmi->ref_frame[1] < 0 ? 0 : mbmi->ref_frame[1]) };
int_mv cur_mv[2];
- int64_t this_rd = 0;
DECLARE_ALIGNED_ARRAY(16, uint8_t, tmp_buf, MAX_MB_PLANE * 64 * 64);
int pred_exists = 0;
int intpel_mv;
@@ -2449,7 +2448,7 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
single_skippable[this_mode][refs[0]] = *skippable;
restore_dst_buf(xd, orig_dst, orig_dst_stride);
- return this_rd; // if 0, this will be re-calculated by caller
+ return 0; // The rate-distortion cost will be re-calculated by caller.
}
void vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,