]> granicus.if.org Git - libvpx/commitdiff
Fix a check condition in nonrd_pick_partition
authorJingning Han <jingning@google.com>
Thu, 19 Feb 2015 17:54:08 +0000 (09:54 -0800)
committerJingning Han <jingning@google.com>
Thu, 19 Feb 2015 17:54:55 +0000 (09:54 -0800)
Change-Id: Ic92fb4b16948f745c218351b24fdafecf9abce3a

vp9/encoder/vp9_encodeframe.c

index 99bb9300ec8259e07dd4fef9b04fa52d104d1231..33f457818398a400d9f9e8e665c9b79d1c08d8bd 100644 (file)
@@ -3129,7 +3129,7 @@ static void nonrd_pick_partition(VP9_COMP *cpi, ThreadData *td,
                  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);