]> granicus.if.org Git - libvpx/commitdiff
Fix LAST SKIP when considering GOLDEN
authorAlex Converse <aconverse@google.com>
Fri, 7 Nov 2014 21:44:17 +0000 (13:44 -0800)
committerAlex Converse <aconverse@google.com>
Fri, 7 Nov 2014 21:44:17 +0000 (13:44 -0800)
Change-Id: I39d9f13fa34984ee9dad0c4f303ef672635f420e

vp9/encoder/vp9_pickmode.c

index f53c0789430b79680ceb51c5aca1566119e48d4f..8ac3aad254602e49f05ddd89100feba7e9ba32a7 100644 (file)
@@ -778,6 +778,9 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
 
     // Check that a prediction mode has been selected.
     assert(best_rdc.rdcost < INT64_MAX);
+
+    if (x->skip)
+      break;
   }
 
   // If best prediction is not in dst buf, then copy the prediction block from