From: Jingning Han Date: Thu, 19 Feb 2015 17:54:08 +0000 (-0800) Subject: Fix a check condition in nonrd_pick_partition X-Git-Tag: v1.4.0~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83559e7357e1b2bb2cf55f4e8eb5d0f49dbccab6;p=libvpx Fix a check condition in nonrd_pick_partition Change-Id: Ic92fb4b16948f745c218351b24fdafecf9abce3a --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 99bb9300e..33f457818 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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);