From: Hui Su Date: Wed, 5 Sep 2018 20:00:56 +0000 (-0700) Subject: Initialize the best partition before partition RDO X-Git-Tag: v1.8.0~361^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b30f33e2dcbc2eea37201f69e05ab6445359bd1;p=libvpx Initialize the best partition before partition RDO This fixes the multi-thread encoder test failure. Change-Id: I0c1845922068e71097a387db0969ca419accb3ed --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 8bba7d98a..088e42381 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -4448,6 +4448,8 @@ static void rd_pick_partition(VP9_COMP *cpi, ThreadData *td, } #endif + pc_tree->partitioning = PARTITION_NONE; + // PARTITION_NONE if (partition_none_allowed) { rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, bsize, ctx,