shithub: libvpx

Download patch

ref: 17bedc54f57a9358ec6569eab95125fdc20c65be
parent: eadffb2d6edd4d369533ae5688e389bbd4f63c6a
author: Jingning Han <jingning@google.com>
date: Fri Dec 5 11:04:22 EST 2014

Remove redundant rdcost reset

The initial reset of this_rdc in vp9_pick_inter_mode is not needed,
since it will be re-assign when used.

Change-Id: Ic0e12d741cbab292fc214c1eabb48b129af7839b

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -599,7 +599,6 @@
 
   // initialize mode decisions
   vp9_rd_cost_reset(&best_rdc);
-  vp9_rd_cost_reset(&this_rdc);
   vp9_rd_cost_reset(rd_cost);
   mbmi->sb_type = bsize;
   mbmi->ref_frame[0] = NONE;