From 79415f7e3441e18f62b89f80a4e6cd0eafb00bf7 Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Tue, 31 Jul 2018 09:33:40 -0700 Subject: [PATCH] vp9: Remove assert from model_rd in non-rd pickmode. The assert checks for tx_size >= 8x8, but 4x4 can be set in some cases. Change-Id: I8bf9683e1add768becaa1208e1709ad0470e3850 --- vp9/encoder/vp9_pickmode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 50a2c9057..792a163fb 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -416,7 +416,6 @@ static void model_rd_for_sb_y_large(VP9_COMP *cpi, BLOCK_SIZE bsize, tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); } - assert(tx_size >= TX_8X8); xd->mi[0]->tx_size = tx_size; if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && x->zero_temp_sad_source && -- 2.40.0