Fix a bug in vp9_rd_pick_inter_mode_sb
authorJingning Han <jingning@google.com>
Tue, 9 Sep 2014 22:32:40 +0000 (15:32 -0700)
committerJingning Han <jingning@google.com>
Tue, 9 Sep 2014 22:39:54 +0000 (15:39 -0700)
commit68d79146ea791783ac7d89dcdbef8c11a93d2b12
tree016fbf3e8778112eaef441f1eb383e835077ffc6
parent9a9e2aef09bad382aa21c2e92aee100b38168ea9
Fix a bug in vp9_rd_pick_inter_mode_sb

This commit fixes a bug related to skipping intra mode checking, by
using a separate variable to store the best prediction error from
inter mode. It avoids unintentionally overwriting intra mode
rate-distortion cost, and hence affecting other speed features.

Change-Id: I99e12993339c84c8b4f597996b372012e5858fae
vp9/encoder/vp9_rdopt.c