shithub: libvpx

Download patch

ref: 7c48a295aeeda9bb74da851c6bf9864ef930541d
parent: 897500b9baf4938ee1bd10d4e2b30ff97d095cfe
parent: 3f79359e0ac494295773d63570b957a89306d01b
author: Yaowu Xu <yaowu@google.com>
date: Wed Oct 22 10:53:06 EDT 2014

Merge "Fix a subtle issue in re-use inter_pred"

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -635,7 +635,7 @@
       // motion vector is at sub-pixel accuracy level for luma component, i.e.,
       // the last three bits are all zeros.
       if (cpi->sf.reuse_inter_pred_sby) {
-        if (this_mode == NEARESTMV) {
+        if (!this_mode_pred) {
           this_mode_pred = &tmp[3];
         } else {
           this_mode_pred = &tmp[get_pred_buffer(tmp, 3)];