From 83559e7357e1b2bb2cf55f4e8eb5d0f49dbccab6 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Thu, 19 Feb 2015 09:54:08 -0800 Subject: [PATCH] Fix a check condition in nonrd_pick_partition Change-Id: Ic92fb4b16948f745c218351b24fdafecf9abce3a --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 99bb930..33f4578 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); -- 2.7.4