shithub: libvpx

Download patch

ref: 1b8c57e915d3041974c66d3649da1e7cf8cb7aff
parent: 5966acc1be3e09e02cc9b22237dd6edc7d2b501d
parent: 085b97aa5c17afbc07c8a342ba08a0bbc5b1b523
author: Jingning Han <[email protected]>
date: Mon Oct 6 05:29:29 EDT 2014

Merge "Fix an IOC issue in vp9_rd_pick_inter_mode_sb"

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2989,7 +2989,7 @@
   }
 
   if (cpi->sf.alt_ref_search_fp)
-    if (!cm->show_frame)
+    if (!cm->show_frame && x->pred_mv_sad[GOLDEN_FRAME] < INT_MAX)
       if (x->pred_mv_sad[ALTREF_FRAME] > (x->pred_mv_sad[GOLDEN_FRAME] << 1))
         mode_skip_mask[ALTREF_FRAME] |= INTER_ALL;