]> granicus.if.org Git - libvpx/commit
Fix rd threshold overflow issue
authorYunqing Wang <yunqingwang@google.com>
Wed, 2 Jul 2014 19:16:27 +0000 (12:16 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 2 Jul 2014 19:16:27 +0000 (12:16 -0700)
commit3bc119320103e9afa4033370df8a141c68cbbe60
tree1d601ab3a9eae3b12fc6d5388111d2ca4b4a768e
parent1e511a539cad871343bd3b583bf0a3d413098e09
Fix rd threshold overflow issue

Moved the threshold adjustment before reference flag checking,
which could set the threshold to INT_MAX for disabled reference
frame, and cause overflow if the adjustment is done after that.

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