shithub: libvpx

Download patch

ref: 83559e7357e1b2bb2cf55f4e8eb5d0f49dbccab6
parent: 02bd4edc2af006152db6b6da228eb105863d5c24
author: Jingning Han <jingning@google.com>
date: Thu Feb 19 04:54:08 EST 2015

Fix a check condition in nonrd_pick_partition

Change-Id: Ic92fb4b16948f745c218351b24fdafecf9abce3a

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -3129,7 +3129,7 @@
                  bsize, pc_tree);
   }
 
-  if (bsize == BLOCK_64X64) {
+  if (bsize == BLOCK_64X64 && do_recon) {
     assert(tp_orig < *tp);
     assert(best_rdc.rate < INT_MAX);
     assert(best_rdc.dist < INT64_MAX);